Doctrine\ODM\PHPCR\Mapping\ClassMetadata::__construct PHP Method

__construct() public method

Initializes a new ClassMetadata instance that will hold the object-document mapping metadata of the class with the given name.
public __construct ( string $className )
$className string The name of the document class the new instance is used for.
    public function __construct($className)
    {
        $this->name = $className;
    }
ClassMetadata