| 1 | <?php |
||
| 8 | class MetadataManager |
||
| 9 | { |
||
| 10 | private $V3Edmx = null; |
||
| 11 | |||
| 12 | private $serializer = null; |
||
| 13 | |||
| 14 | public function __construct($namespaceName = "Data", $containerName = "DefaultContainer") |
||
| 26 | |||
| 27 | public function getEdmx() |
||
| 31 | |||
| 32 | public function getEdmxXML() |
||
| 36 | |||
| 37 | public function addEntityType($refClass, $name, $namespace = null) |
||
| 42 | |||
| 43 | public function addComplexType(\ReflectionClass $refClass, $name, $namespace = null, $baseResourceType = null) |
||
| 47 | |||
| 48 | |||
| 49 | } |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: