IRoute
in
Interface IRequestAction
This interface defines the basic contract for classes that handle various types of request actions. Classes implementing this interface should provide methods for determining the required permission to execute the action, and for executing the action itself.
Table of Contents
Methods
- accessPermission() : null|string
- Returns the required permission to execute this action, or null if it is not restricted.
- exec() : mixed
- Executes the action and returns the result.
Methods
accessPermission()
Returns the required permission to execute this action, or null if it is not restricted.
public
accessPermission() : null|string
Return values
null|stringexec()
Executes the action and returns the result.
public
exec(mixed $args) : mixed
Parameters
- $args : mixed