1 | <?php |
||
7 | abstract class Component implements ComponentInterface |
||
8 | { |
||
9 | /** |
||
10 | * Component configuration array. |
||
11 | * |
||
12 | * @var array |
||
13 | */ |
||
14 | protected $configuration = array(); |
||
15 | |||
16 | /** |
||
17 | * {@inheritDoc} |
||
18 | */ |
||
19 | public static function getClassName() |
||
25 | |||
26 | /** |
||
27 | * Constructs a component. Sets component configuration. |
||
28 | * |
||
29 | * @param array $configuration Component configuration array. |
||
30 | */ |
||
31 | public function __construct(array $configuration = array()) |
||
35 | |||
36 | /** |
||
37 | * {@inheritDoc} |
||
38 | */ |
||
39 | public function setConfiguration(array $configuration) |
||
43 | } |
||
44 |