| 1 | <?php namespace Usman\Guardian\Composers; |
||
| 5 | class RoleOptionsComposer { |
||
| 6 | |||
| 7 | /** |
||
| 8 | * The role repository implementation. |
||
| 9 | * |
||
| 10 | * @var RoleRepository |
||
| 11 | */ |
||
| 12 | protected $role; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Creates a new instance of RoleOptionsComposer. |
||
| 16 | * |
||
| 17 | * @param RoleRepositoryInterface $role |
||
| 18 | */ |
||
| 19 | public function __construct(RoleRepository $role) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Binds the role options to the view |
||
| 26 | * |
||
| 27 | * @param View $view |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function compose($view) |
||
| 34 | } |