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

  • CompositeExpectation
  • Configuration
  • Container
  • Expectation
  • ExpectationDirector
  • Loader
  • MethodCall
  • Mock
  • ReceivedMethodCalls
  • Recorder
  • Undefined
  • VerificationDirector
  • VerificationExpectation

Interfaces

  • Exception
  • ExpectationInterface
  • MockInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class Loader

Namespace: Mockery
Located at Mockery/Loader.php
Methods summary
public
# __construct( string $ns = 'Mockery', $includePath = null )

Creates a new Loader that loads classes of the specified namespace.

Creates a new Loader that loads classes of the specified namespace.

Parameters

$ns
The namespace to use.
$includePath
public
# setNamespaceSeparator( string $sep )

Sets the namespace separator used by classes in the namespace of this class loader.

Sets the namespace separator used by classes in the namespace of this class loader.

Parameters

$sep
The separator to use.
public
# getNamespaceSeparator( )

Gets the namespace seperator used by classes in the namespace of this class loader.

Gets the namespace seperator used by classes in the namespace of this class loader.

public
# setIncludePath( string $includePath )

Sets the base include path for all class files in the namespace of this class loader.

Sets the base include path for all class files in the namespace of this class loader.

Parameters

$includePath
public string
# getIncludePath( )

Gets the base include path for all class files in the namespace of this class loader.

Gets the base include path for all class files in the namespace of this class loader.

Returns

string
$includePath
public
# setFileExtension( string $fileExtension )

Sets the file extension of class files in the namespace of this class loader.

Sets the file extension of class files in the namespace of this class loader.

Parameters

$fileExtension
public string
# getFileExtension( )

Gets the file extension of class files in the namespace of this class loader.

Gets the file extension of class files in the namespace of this class loader.

Returns

string
$fileExtension
public
# register( boolean $prepend = false )

Installs this class loader on the SPL autoload stack.

Installs this class loader on the SPL autoload stack.

Parameters

$prepend
If true, prepend autoloader on the autoload stack
public
# unregister( )

Uninstalls this class loader from the SPL autoloader stack.

Uninstalls this class loader from the SPL autoloader stack.

public
# loadClass( string $className )

Loads the given class or interface.

Loads the given class or interface.

Parameters

$className
The name of the class to load.
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen