Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace BrianHenryIE\Strauss\Config; |
| 4 | |
| 5 | use BrianHenryIE\Strauss\Composer\ComposerPackage; |
| 6 | |
| 7 | interface AutoloadConfigInterface |
| 8 | { |
| 9 | |
| 10 | /** |
| 11 | * The directory where the source files are located. |
| 12 | * |
| 13 | * absolute? relative? |
| 14 | */ |
| 15 | public function getVendorDirectory(): string; |
| 16 | |
| 17 | /** |
| 18 | * The directory where Strauss copied the files to. |
| 19 | * absolute? relative? |
| 20 | */ |
| 21 | public function getTargetDirectory(): string; |
| 22 | |
| 23 | /** |
| 24 | * The directory containing `composer.json`. |
| 25 | */ |
| 26 | public function getProjectDirectory(): string; |
| 27 | |
| 28 | public function isClassmapOutput(): bool; |
| 29 | |
| 30 | public function isDryRun(): bool; |
| 31 | |
| 32 | public function isIncludeRootAutoload(): bool; |
| 33 | |
| 34 | public function getNamespacePrefix(): ?string; |
| 35 | |
| 36 | /** |
| 37 | * @return array<string,ComposerPackage> |
| 38 | */ |
| 39 | public function getPackagesToCopy(): array; |
| 40 | |
| 41 | /** |
| 42 | * @return array<string,ComposerPackage> |
| 43 | */ |
| 44 | public function getPackagesToPrefix(): array; |
| 45 | } |