1 | <?php |
||
10 | class MailboxManager extends Manager |
||
11 | { |
||
12 | /** |
||
13 | * Create a new manager instance. |
||
14 | * |
||
15 | * @param Container $container |
||
16 | * @return void |
||
|
|||
17 | */ |
||
18 | public function __construct(Container $container) |
||
24 | |||
25 | public function getDefaultDriver() |
||
29 | |||
30 | protected function registerDrivers(): void |
||
41 | |||
42 | protected function registerDriverCallable(string $driver): Closure |
||
48 | } |
||
49 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.