Total Complexity | 3 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class Url extends Local implements ImageDriverInterface |
||
9 | { |
||
10 | const CONFIG_PARAM_SCREENSHOT_URL = 'screenshot_url'; |
||
11 | |||
12 | private $screenshotUrl; |
||
13 | private $screenshotDirectory; |
||
14 | |||
15 | /** |
||
16 | * @param ArrayNodeDefinition $builder |
||
17 | * |
||
18 | * @return void |
||
19 | */ |
||
20 | public function configure(ArrayNodeDefinition $builder) |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param ContainerBuilder $container |
||
33 | * @param array $config |
||
34 | * |
||
35 | * @return void |
||
36 | */ |
||
37 | public function load(ContainerBuilder $container, array $config) |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @param string $binaryImage |
||
47 | * @param string $filename |
||
48 | * |
||
49 | * @return string URL to the image |
||
50 | */ |
||
51 | public function upload($binaryImage, $filename) |
||
59 |