| 1 | <?php |
||
| 9 | class ModuleNameStructure |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $vendorName; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $shortModuleName; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $fullModuleName like Acme_Foo |
||
| 23 | */ |
||
| 24 | public function __construct($fullModuleName) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getShortModuleName() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Returns the full module name in style Acme_Foo |
||
| 46 | * |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getFullModuleName() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | public function getVendorName() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | public function __toString() |
||
| 69 | } |
||
| 70 |