1 | <?php |
||
24 | class Theme implements ITheme { |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $name; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | private $baseDirectory; |
||
35 | |||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | private $directory; |
||
40 | |||
41 | /** |
||
42 | * @var string |
||
43 | */ |
||
44 | private $webPath; |
||
45 | |||
46 | /** |
||
47 | * @param string $name |
||
48 | * @param string $directory |
||
49 | * @param string $webPath |
||
50 | */ |
||
51 | public function __construct($name = '', $directory = '', $webPath = '') { |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getName() { |
||
63 | |||
64 | /** |
||
65 | * @param string $baseDirectory |
||
66 | * @return string |
||
67 | */ |
||
68 | public function setBaseDirectory($baseDirectory) { |
||
71 | |||
72 | /** |
||
73 | * @return string |
||
74 | */ |
||
75 | public function getBaseDirectory() { |
||
78 | |||
79 | /** |
||
80 | * @return string |
||
81 | */ |
||
82 | public function getDirectory() { |
||
85 | |||
86 | /** |
||
87 | * @return string |
||
88 | */ |
||
89 | public function getWebPath() { |
||
92 | |||
93 | /** |
||
94 | * @param string $name |
||
95 | */ |
||
96 | public function setName($name) { |
||
99 | |||
100 | /** |
||
101 | * @param string $directory |
||
102 | */ |
||
103 | public function setDirectory($directory) { |
||
106 | |||
107 | /** |
||
108 | * @param string $webPath |
||
109 | */ |
||
110 | public function setWebPath($webPath) { |
||
113 | } |
||
114 |