public __construct ( string $entityName ) | ||
$entityName | string | The name of the document class the new instance is used for. |
public function __construct($entityName)
{
parent::__construct($entityName);
$this->reflClass = new \ReflectionClass($entityName);
$this->namespace = $this->reflClass->getNamespaceName();
$this->xmlName = Inflector::xmlize($this->reflClass->getShortName());
}