1 | <?php |
||
43 | class TransIPManager extends AbstractManager |
||
44 | { |
||
45 | /** |
||
46 | * The factory instance. |
||
47 | * |
||
48 | * @var \TransIP\Laravel\TransIPFactory |
||
49 | */ |
||
50 | protected $factory; |
||
51 | |||
52 | /** |
||
53 | * Create a new TransIP manager instance. |
||
54 | * |
||
55 | * @param \Illuminate\Contracts\Config\Repository $config |
||
56 | * @param \TransIP\Laravel\TransIPFactory $factory |
||
57 | */ |
||
58 | public function __construct(Repository $config, TransIPFactory $factory) |
||
63 | |||
64 | /** |
||
65 | * Create the connection instance. |
||
66 | * |
||
67 | * @param array $config |
||
68 | * |
||
69 | * @return \TransIP\Client |
||
70 | */ |
||
71 | protected function createConnection(array $config) |
||
75 | |||
76 | /** |
||
77 | * Get the configuration name. |
||
78 | * |
||
79 | * @return string |
||
80 | */ |
||
81 | protected function getConfigName() |
||
85 | |||
86 | /** |
||
87 | * Get the factory instance. |
||
88 | * |
||
89 | * @return \TransIP\Laravel\TransIPFactory |
||
90 | */ |
||
91 | public function getFactory() |
||
95 | } |
||
96 |