Bristol SU Support Package
Public Member Functions | List of all members
BristolSU\Support\Action\Contracts\ActionRepository Interface Reference
Inheritance diagram for BristolSU\Support\Action\Contracts\ActionRepository:
Inheritance graph
[legend]

Public Member Functions

 all ()
 
 fromClass ($class)
 

Detailed Description

Retrieves information from the ActionManager

Definition at line 8 of file ActionRepository.php.

Member Function Documentation

◆ all()

BristolSU\Support\Action\Contracts\ActionRepository::all ( )

Get all registered actions.

This method should transform all the registered actions to the RegisteredAction interface.

Returns
RegisteredAction[]

Implemented in BristolSU\Support\Action\ActionRepository.

◆ fromClass()

BristolSU\Support\Action\Contracts\ActionRepository::fromClass (   $class)

Return an action from its class.

Parameters
string$classClass of the action
Returns
RegisteredAction Action in the RegisteredAction interface structure

Implemented in BristolSU\Support\Action\ActionRepository.


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