Elgg  Version 5.1
Public Member Functions | Protected Attributes | List of all members
Elgg\Invoker Class Reference

Invocation service. More...

Public Member Functions

 __construct (SessionManagerService $session_manager, PublicContainer $dic)
 Constructor. More...
 
 call (int $flags,\Closure $closure)
 Calls a callable autowiring the arguments using public DI services and applying logic based on flags. More...
 

Protected Attributes

 $session_manager
 
 $dic
 

Detailed Description

Invocation service.

Definition at line 10 of file Invoker.php.

Constructor & Destructor Documentation

Elgg\Invoker::__construct ( SessionManagerService  $session_manager,
PublicContainer  $dic 
)

Constructor.

Parameters
SessionManagerService$session_managerSession
PublicContainer$dicDI container

Definition at line 28 of file Invoker.php.

Member Function Documentation

Elgg\Invoker::call ( int  $flags,
\Closure  $closure 
)

Calls a callable autowiring the arguments using public DI services and applying logic based on flags.

Parameters
int$flagsBitwise flags ELGG_IGNORE_ACCESS ELGG_ENFORCE_ACCESS ELGG_SHOW_DISABLED_ENTITIES ELGG_HIDE_DISABLED_ENTITIES
\Closure$closureCallable to call
Returns
mixed
Exceptions

Definition at line 47 of file Invoker.php.

Member Data Documentation

Elgg\Invoker::$dic
protected

Definition at line 20 of file Invoker.php.

Elgg\Invoker::$session_manager
protected

Definition at line 15 of file Invoker.php.


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