function pathObject($entity, $type = LinkGeneratorService::TYPE_LINK_DEFAULT, array $parameters = array()) {
        if($entity === null){
            return "";
        }
        return $this->linkGeneratorService->generate($entity, $type, $parameters);
    }
function pathObject($entity, $type = LinkGeneratorService::TYPE_LINK_DEFAULT, array $parameters = array()) {
        if($entity === null){
            return "";
        }
        return $this->linkGeneratorService->generate($entity, $type, $parameters);
    }
function pathObject ( $ entity , $ type = LinkGeneratorService :: TYPE_LINK_DEFAULT , array $ parameters = array ( ) ) { if ( $ entity === null ) { return "" ; } return $ this -> linkGeneratorService -> generate ( $ entity , $ type , $ parameters ) ; }
Genera un link completo para mostrar el objeto

@param type $entity
@param type $type
@return type
Genera un link completo para mostrar el objeto