|
Bristol SU Support Package
|


Public Member Functions | |
| __construct (ActionManagerContract $manager) | |
| all () | |
| fromClass ($class) | |
Private Attributes | |
| $manager | |
Retrieves actions from the action manager
Definition at line 14 of file ActionRepository.php.
| BristolSU\Support\Action\ActionRepository::__construct | ( | ActionManagerContract | $manager | ) |
Initialises the action repository
| ActionManagerContract | $manager | Action Manager instance, holding all registered actions. |
Definition at line 28 of file ActionRepository.php.
References BristolSU\Support\Action\ActionRepository\$manager.
| BristolSU\Support\Action\ActionRepository::all | ( | ) |
Retrieve all actions.
Implements BristolSU\Support\Action\Contracts\ActionRepository.
Definition at line 38 of file ActionRepository.php.
References BristolSU\Support\Action\RegisteredAction\fromArray().
| BristolSU\Support\Action\ActionRepository::fromClass | ( | $class | ) |
Retrieve a RegisteredAction class by class name
| string | $class | Class of the action |
Implements BristolSU\Support\Action\Contracts\ActionRepository.
Definition at line 53 of file ActionRepository.php.
References BristolSU\Support\Action\RegisteredAction\fromArray().
|
private |
Definition at line 21 of file ActionRepository.php.
Referenced by BristolSU\Support\Action\ActionRepository\__construct().
1.8.13