Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class UrlShortenerManager extends Manager implements Factory |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritDoc} |
||
17 | */ |
||
18 | public function client(string $name = null) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Create a new TinyURL driver. |
||
25 | * |
||
26 | * @return \LaraCrafts\UrlShortener\UrlShortener |
||
27 | * @throws \Illuminate\Contracts\Container\BindingResolutionException |
||
28 | */ |
||
29 | protected function createTinyUrlDriver() |
||
30 | { |
||
31 | return new UrlShortener( |
||
32 | new TinyUrl($this->app->make(ClientInterface::class)) |
||
|
|||
33 | ); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * {@inheritDoc} |
||
38 | */ |
||
39 | public function getDefaultDriver() |
||
42 | } |
||
43 | } |
||
44 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.