caisse-bliss/vendor/doctrine/doctrine-bundle/Mapping/ClassMetadataCollection.php

51 lines
985 B
PHP
Raw Normal View History

2023-06-19 12:13:30 +02:00
<?php
namespace Doctrine\Bundle\DoctrineBundle\Mapping;
use Doctrine\ORM\Mapping\ClassMetadata;
class ClassMetadataCollection
{
private ?string $path = null;
private ?string $namespace = null;
/** @var ClassMetadata[] */
private array $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|null */
public function getPath()
{
return $this->path;
}
/** @param string $namespace */
public function setNamespace($namespace)
{
$this->namespace = $namespace;
}
/** @return string|null */
public function getNamespace()
{
return $this->namespace;
}
}