| 1 | <?php |
||
| 11 | class SeleniumStandalone extends AbstractBinary |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param BinaryResolverInterface $resolver |
||
| 15 | */ |
||
| 16 | public function __construct(BinaryResolverInterface $resolver) |
||
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritdoc} |
||
| 23 | * |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | public function getName() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | * |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getFileName() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | * |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getUrl() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Remove old versions of the binary. |
||
| 56 | * |
||
| 57 | * @param $directory |
||
| 58 | * @return void |
||
| 59 | */ |
||
| 60 | protected function removeOldVersions($directory) |
||
| 67 | |||
| 68 | /** |
||
| 69 | * {@inheritdoc} |
||
| 70 | * |
||
| 71 | * @param string $directory |
||
| 72 | * @return string |
||
| 73 | */ |
||
| 74 | protected function getOldFilePattern($directory) |
||
| 78 | } |
||
| 79 |