BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
Onoi\CallbackContainer\NullCallbackLoader Class Reference
Inheritance diagram for Onoi\CallbackContainer\NullCallbackLoader:
Collaboration diagram for Onoi\CallbackContainer\NullCallbackLoader:

Public Member Functions

 registerCallback ($handlerName,\Closure $callback)
 
 registerExpectedReturnType ($handlerName, $type)
 
 registerCallbackContainer (CallbackContainer $callbackContainer)
 
 load ($handlerName)
 
 create ($handlerName)
 
 singleton ($handlerName)
 

Detailed Description

GNU GPL v2+

Since
1.0
Deprecated:
since 1.1, use NullCallbackInstantiator
Author
mwjames

Member Function Documentation

Onoi\CallbackContainer\NullCallbackLoader::create (   $handlerName)
Since
1.2

Since
1.1
Parameters
string$handlerName
Returns
mixed
Exceptions
RuntimeException

Implements Onoi\CallbackContainer\CallbackInstantiator.

Onoi\CallbackContainer\NullCallbackLoader::load (   $handlerName)
Since
1.0

Since
1.0
Deprecated:
since 1.1, use CallbackInstantiator::create
Parameters
string$handlerName
Returns
mixed
Exceptions
RuntimeException

Implements Onoi\CallbackContainer\CallbackLoader.

Onoi\CallbackContainer\NullCallbackLoader::registerCallback (   $handlerName,
\Closure  $callback 
)
Since
1.0

Since
1.0
Parameters
string$handlerName
Closure$callback

Implements Onoi\CallbackContainer\CallbackInstantiator.

Onoi\CallbackContainer\NullCallbackLoader::registerCallbackContainer ( CallbackContainer  $callbackContainer)
Since
1.1

Since
1.1
Parameters
CallbackContainer$callbackContainer

Implements Onoi\CallbackContainer\CallbackInstantiator.

Onoi\CallbackContainer\NullCallbackLoader::registerExpectedReturnType (   $handlerName,
  $type 
)
Since
1.0

Since
1.0
Parameters
string$handlerName
string$type

Implements Onoi\CallbackContainer\CallbackInstantiator.

Onoi\CallbackContainer\NullCallbackLoader::singleton (   $handlerName)
Since
1.0

Since
1.0
Parameters
string$handlerName
Returns
mixed
Exceptions
RuntimeException

Implements Onoi\CallbackContainer\CallbackInstantiator.


The documentation for this class was generated from the following file: