1 | <?php |
||
12 | class MailboxManager extends Manager |
||
13 | { |
||
14 | /** |
||
15 | * Create a new manager instance. |
||
16 | * |
||
17 | * @param Container $container |
||
18 | * @return void |
||
|
|||
19 | */ |
||
20 | public function __construct(Container $container) |
||
26 | |||
27 | public function getDefaultDriver(): string |
||
31 | |||
32 | protected function registerDrivers(): void |
||
43 | |||
44 | protected function registerDriverCallable(string $driver): Closure |
||
50 | } |
||
51 |
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.