protected function setEntity($entityClass)
    {
        $this->repos = $this->doctrine->getRepository($entityClass);
        $this->className = $this->repos->getClassName();
        $this->classMetaData = $this->metadataFactory->getMetadataForClass($this->className);
    }
protected function setEntity($entityClass)
    {
        $this->repos = $this->doctrine->getRepository($entityClass);
        $this->className = $this->repos->getClassName();
        $this->classMetaData = $this->metadataFactory->getMetadataForClass($this->className);
    }
protected function setEntity ( $ entityClass ) { $ this -> repos = $ this -> doctrine -> getRepository ( $ entityClass ) ; $ this -> className = $ this -> repos -> getClassName ( ) ; $ this -> classMetaData = $ this -> metadataFactory -> getMetadataForClass ( $ this -> className ) ; }
Set the Entity being processed.

@param string $entityClass
@return void
Set the Entity being processed .