vendor/symfony/src/Symfony/Bundle/DoctrineBundle/Mapping/ClassMetadataCollection.php
changeset 0 7f95f8617b0b
equal deleted inserted replaced
-1:000000000000 0:7f95f8617b0b
       
     1 <?php
       
     2 
       
     3 /*
       
     4  * This file is part of the Symfony package.
       
     5  *
       
     6  * (c) Fabien Potencier <fabien@symfony.com>
       
     7  *
       
     8  * For the full copyright and license information, please view the LICENSE
       
     9  * file that was distributed with this source code.
       
    10  */
       
    11 
       
    12 namespace Symfony\Bundle\DoctrineBundle\Mapping;
       
    13 
       
    14 /**
       
    15  *
       
    16  *
       
    17  * @author Fabien Potencier <fabien@symfony.com>
       
    18  */
       
    19 class ClassMetadataCollection
       
    20 {
       
    21     private $path;
       
    22     private $namespace;
       
    23     private $metadata;
       
    24 
       
    25     public function __construct(array $metadata)
       
    26     {
       
    27         $this->metadata = $metadata;
       
    28     }
       
    29 
       
    30     public function getMetadata()
       
    31     {
       
    32         return $this->metadata;
       
    33     }
       
    34 
       
    35     public function setPath($path)
       
    36     {
       
    37         $this->path = $path;
       
    38     }
       
    39 
       
    40     public function getPath()
       
    41     {
       
    42         return $this->path;
       
    43     }
       
    44 
       
    45     public function setNamespace($namespace)
       
    46     {
       
    47         $this->namespace = $namespace;
       
    48     }
       
    49 
       
    50     public function getNamespace()
       
    51     {
       
    52         return $this->namespace;
       
    53     }
       
    54 }