| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class MediaOpenerFactory |
||
| 10 | { |
||
| 11 | use ForwardsCalls; |
||
| 12 | |||
| 13 | private $defaultDisk; |
||
| 14 | private $driver; |
||
| 15 | |||
| 16 | public function __construct(string $defaultDisk, PHPFFMpeg $driver) |
||
| 17 | { |
||
| 18 | $this->defaultDisk = $defaultDisk; |
||
| 19 | $this->driver = $driver; |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Handle dynamic method calls into the MediaOpener. |
||
| 24 | * |
||
| 25 | * @param string $method |
||
| 26 | * @param array $parameters |
||
| 27 | * @return mixed |
||
| 28 | */ |
||
| 29 | public function __call($method, $parameters) |
||
| 35 | ); |
||
| 36 | } |
||
| 38 |