| 1 | <?php |
||
| 18 | class Fetcher extends Repository |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var Role |
||
| 22 | */ |
||
| 23 | protected $model; |
||
| 24 | |||
| 25 | public function __construct(Role $model) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get list of all of the role names. |
||
| 32 | * |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function getNameDropdown() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get collection of all of the roles with users within each role. |
||
| 42 | * |
||
| 43 | * @return Collection |
||
| 44 | */ |
||
| 45 | public function getRolesWithUsers() |
||
| 49 | } |
||
| 50 |