| Total Complexity | 6 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | final class Pharaoh extends ParagoniePharaoh |
||
| 22 | { |
||
| 23 | private $fileName; |
||
| 24 | |||
| 25 | /** @var null|PharInfo */ |
||
| 26 | private $pharInfo; |
||
| 27 | |||
| 28 | /** @var null|string */ |
||
| 29 | private $path; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | public function __construct(string $file, ?string $alias = null) |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | public function __destruct() |
||
| 45 | { |
||
| 46 | unset($this->pharInfo); |
||
| 47 | |||
| 48 | parent::__destruct(); |
||
| 49 | |||
| 50 | remove($this->tmp); |
||
| 51 | } |
||
| 52 | |||
| 53 | public function getFileName(): string |
||
| 56 | } |
||
| 57 | |||
| 58 | public function getPharInfo(): PharInfo |
||
| 68 |