1 | <?php |
||
33 | class SMSFactorManager extends AbstractManager |
||
34 | { |
||
35 | |||
36 | /** |
||
37 | * The factory instance. |
||
38 | * |
||
39 | * @var \IlGala\SMSFactor\SMSFactorFactory |
||
40 | */ |
||
41 | protected $factory; |
||
42 | |||
43 | /** |
||
44 | * Create a new digitalocean manager instance. |
||
45 | * |
||
46 | * @param \Illuminate\Contracts\Config\Repository $config |
||
47 | * @param \IlGala\SMSFactor\SMSFactorFactory $factory |
||
48 | * |
||
49 | * @return void |
||
|
|||
50 | */ |
||
51 | public function __construct(Repository $config, SMSFactorFactory $factory) |
||
56 | |||
57 | /** |
||
58 | * Create the connection instance. |
||
59 | * |
||
60 | * @param array $config |
||
61 | * |
||
62 | * @return \IlGala\SMSFactor\SMSFactor |
||
63 | */ |
||
64 | protected function createConnection(array $config) |
||
68 | |||
69 | /** |
||
70 | * Get the configuration name. |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | protected function getConfigName() |
||
78 | |||
79 | /** |
||
80 | * Get the factory instance. |
||
81 | * |
||
82 | * @return \IlGala\SMSFactor\SMSFactorFactory |
||
83 | */ |
||
84 | public function getFactory() |
||
88 | |||
89 | } |
||
90 |
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.