Doctrine\ORM\Mapping\ClassMetadataInfo::__construct
Initializes a new ClassMetadata instance that will hold the object-relational mapping metadata of the class with the given name.
Signature
public function __construct(string
$entityName,
[NamingStrategy
$namingStrategy = null] )
Parameters
$entityName
— string- The name of the entity class the new instance is used for.
$namingStrategy
— Doctrine\ORM\Mapping\NamingStrategy