1 | <?php |
||
7 | class ExtensibleClassMetadata extends ClassMetadata |
||
8 | { |
||
9 | /** |
||
10 | * A dictionary of extension metadata mapped to this class. |
||
11 | * |
||
12 | * @var array |
||
13 | */ |
||
14 | public $extensions = []; |
||
15 | |||
16 | /** |
||
17 | * @param string $name |
||
18 | * @param array $configuration |
||
19 | * |
||
20 | * @return void |
||
21 | */ |
||
22 | 28 | public function addExtension($name, array $configuration) |
|
26 | |||
27 | /** |
||
28 | * @param string $name |
||
29 | * |
||
30 | * @return array |
||
31 | */ |
||
32 | 28 | public function getExtension($name) |
|
40 | |||
41 | /** |
||
42 | * @param string $name |
||
43 | * @param array $config |
||
44 | */ |
||
45 | 4 | public function appendExtension($name, array $config = []) |
|
54 | } |
||
55 |