1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- namespace Doctrine\Bundle\DoctrineBundle\Mapping;
- use Doctrine\ORM\Mapping\ClassMetadata;
- class ClassMetadataCollection
- {
- /** @var string */
- private $path;
- /** @var string */
- private $namespace;
- /** @var ClassMetadata[] */
- private $metadata;
- /**
- * @param ClassMetadata[] $metadata
- */
- public function __construct(array $metadata)
- {
- $this->metadata = $metadata;
- }
- /**
- * @return ClassMetadata[]
- */
- public function getMetadata()
- {
- return $this->metadata;
- }
- /**
- * @param string $path
- */
- public function setPath($path)
- {
- $this->path = $path;
- }
- /**
- * @return string
- */
- public function getPath()
- {
- return $this->path;
- }
- /**
- * @param string $namespace
- */
- public function setNamespace($namespace)
- {
- $this->namespace = $namespace;
- }
- /**
- * @return string
- */
- public function getNamespace()
- {
- return $this->namespace;
- }
- }
|