ArrayUtil.php
5 years ago
Config.php
5 years ago
ConfigCollection.php
5 years ago
ConfigCollectionFactory.php
5 years ago
ConfigCollectionInterface.php
5 years ago
ConfigFactory.php
5 years ago
ConfigInterface.php
5 years ago
Filesystem.php
5 years ago
FilesystemInterface.php
5 years ago
Imposter.php
5 years ago
ImposterFactory.php
5 years ago
ImposterInterface.php
5 years ago
ProjectConfig.php
5 years ago
ProjectConfigInterface.php
5 years ago
StringUtil.php
5 years ago
Transformer.php
5 years ago
TransformerInterface.php
5 years ago
ImposterInterface.php
39 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace TypistTech\Imposter; |
| 6 | |
| 7 | interface ImposterInterface |
| 8 | { |
| 9 | /** |
| 10 | * Get all valid (exist) autoload paths. |
| 11 | * |
| 12 | * @return string[] |
| 13 | */ |
| 14 | public function getAutoloads(): array; |
| 15 | |
| 16 | /** |
| 17 | * Get all invalid (not exist) autoload paths. |
| 18 | * |
| 19 | * @return string[] |
| 20 | */ |
| 21 | public function getInvalidAutoloads(): array; |
| 22 | |
| 23 | /** |
| 24 | * Transform all autoload files. |
| 25 | * |
| 26 | * @return void |
| 27 | */ |
| 28 | public function run(); |
| 29 | |
| 30 | /** |
| 31 | * Transform a file or directory recursively. |
| 32 | * |
| 33 | * @param string $target Path to the target file or directory. |
| 34 | * |
| 35 | * @return void |
| 36 | */ |
| 37 | public function transform(string $target); |
| 38 | } |
| 39 |