| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | final class ExternalImage implements Command |
||
| 23 | { |
||
| 24 | use Rotatable; |
||
| 25 | use Invertible; |
||
| 26 | use PositionAware; |
||
| 27 | |||
| 28 | private $filename; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param int $x |
||
| 32 | * @param int $y |
||
| 33 | * @param \SplFileInfo|string $filename |
||
| 34 | */ |
||
| 35 | public function __construct(int $x, int $y, $filename) |
||
| 36 | { |
||
| 37 | $this->x = $x; |
||
| 38 | $this->y = $y; |
||
| 39 | $this->filename = $filename; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getData(): string |
||
| 45 | } |
||
| 46 | |||
| 47 | private function read($data): string |
||
| 64 |