| 1 | <?php |
||
| 9 | abstract class ServiceAbstract |
||
| 10 | { |
||
| 11 | protected $command; |
||
| 12 | |||
| 13 | protected $filesystem; |
||
| 14 | |||
| 15 | protected $relativeToBasePath; |
||
| 16 | |||
| 17 | public function __construct(MakeEntity $command) |
||
| 22 | |||
| 23 | protected function addLatestFileToIdeStack() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Returns the latest created File in given Path to use it for $filesToBeOpened stack |
||
| 30 | * |
||
| 31 | * @param string $path |
||
| 32 | * |
||
| 33 | * @return SplFileInfo |
||
| 34 | */ |
||
| 35 | protected function latestCreatedFileIn(string $path): SplFileInfo |
||
| 43 | } |
||
| 44 |