Overview

Namespaces

  • Composer
    • Autoload
  • Guzzle
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Mock
    • Stream
  • Mockery
    • Adapter
      • Phpunit
    • CountValidator
    • Exception
    • Generator
      • StringManipulation
        • Pass
    • Loader
    • Matcher
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP
  • Symfony
    • Component
      • EventDispatcher
        • Debug
        • DependencyInjection
        • Tests
          • Debug
          • DependencyInjection
      • HttpFoundation
        • File
          • Exception
          • MimeType
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
        • Tests
          • File
            • MimeType
          • Session
            • Attribute
            • Flash
            • Storage
              • Handler
              • Proxy
      • Yaml
        • Exception
        • Tests

Classes

  • CallTypeHintPass
  • ClassNamePass
  • ClassPass
  • InstanceMockPass
  • InterfacePass
  • MethodDefinitionPass
  • RemoveBuiltinMethodsThatAreFinalPass
  • RemoveUnserializeForInternalSerializableClassesPass

Interfaces

  • Pass
  • Overview
  • Namespace
  • Class
  • Tree

Class RemoveUnserializeForInternalSerializableClassesPass

Internal classes can not be instantiated with the newInstanceWithoutArgs reflection method, so need the serialization hack. If the class also implements Serializable, we need to replace the standard unserialize method definition with a dummy

Namespace: Mockery\Generator\StringManipulation\Pass
Located at Mockery/Generator/StringManipulation/Pass/RemoveUnserializeForInternalSerializableClassesPass.php
Methods summary
public
# apply( $code, Mockery\Generator\MockConfiguration $config )
protected
# appendToClass( $class, $code )
Constants summary
string DUMMY_METHOD_DEFINITION
# 'public function unserialize($string) {} '
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen