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