1 | <?php |
||
7 | abstract class NamingAbstract |
||
8 | { |
||
9 | use DetectsApplicationNamespace; |
||
10 | |||
11 | protected $entity; |
||
12 | |||
13 | /** |
||
14 | * NamingAbstract constructor. |
||
15 | * @param string $entity |
||
16 | */ |
||
17 | public function __construct(string $entity) |
||
21 | |||
22 | /** |
||
23 | * @return string |
||
24 | */ |
||
25 | public function getFile(): string |
||
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | abstract public function getPath(): string; |
||
34 | |||
35 | abstract public function getFileName(): string; |
||
36 | } |
||
37 |