OfficersBranchApiDataProvider
in package
Provides current officer data for branch API detail responses.
Table of Contents
Methods
- provide() : array{officers: array}
- Return current officers for a branch entity.
Methods
provide()
Return current officers for a branch entity.
public
static provide(string $controller, string $action, mixed $entity) : array{officers: array}
Parameters
- $controller : string
-
Controller name
- $action : string
-
Action name
- $entity : mixed
-
Branch entity (must have id and type)