1 | <?php |
||
23 | abstract class WebProject implements WebProjectInterface |
||
24 | { |
||
25 | /** |
||
26 | * the name of a webproject. |
||
27 | * |
||
28 | * @var string the name of a webproject |
||
29 | */ |
||
30 | private $name; |
||
31 | |||
32 | /** |
||
33 | * the version of a webproject. |
||
34 | * |
||
35 | * @var string the version of a webproject |
||
36 | */ |
||
37 | private $version; |
||
38 | |||
39 | /** |
||
40 | * Constructor. |
||
41 | * |
||
42 | * @param string $name the name of a webproject |
||
43 | * @param string $version the version of a webproject |
||
44 | */ |
||
45 | 1 | public function __construct($name, $version = '') |
|
50 | |||
51 | /** |
||
52 | * Gets the name of a webproject. |
||
53 | * |
||
54 | * @return string the name of the webproject |
||
55 | */ |
||
56 | 1 | public function getName() |
|
60 | |||
61 | /** |
||
62 | * Gets the version of a webproject. |
||
63 | * |
||
64 | * @return string the version of the webproject |
||
65 | */ |
||
66 | public function getVersion() |
||
70 | |||
71 | abstract public function getParameters(); |
||
72 | } |
||
73 |