| 1 | <?php namespace Anomaly\UsersModule\User\Command; |
||
| 14 | class GetLogoutPath implements SelfHandling |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The redirect URL/path. |
||
| 19 | * |
||
| 20 | * @var null|string |
||
| 21 | */ |
||
| 22 | protected $redirect; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Create a new GetLogoutPath instance. |
||
| 26 | * |
||
| 27 | * @param null $redirect |
||
| 28 | */ |
||
| 29 | public function __construct($redirect = null) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Handle the command. |
||
| 36 | * |
||
| 37 | * @param SettingRepositoryInterface $settings |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function handle(SettingRepositoryInterface $settings) |
||
| 44 | } |
||
| 45 |