protected function _mapEntity(AbstractRole $entity) { $mapper = new EngineBlock_Corto_Mapper_Metadata_Entity($entity, $this->_eduGain); return $mapper->map(); }
protected function _mapEntity(array $rootElement) { $mapper = new EngineBlock_Corto_Mapper_Metadata_Entity($this->_entity, $this->_eduGain); return $mapper->mapTo($rootElement); }