src/Zicht/Bundle/UrlBundle/Admin/AliasOverviewType.php
protected function getUrlAliases($object)
    {
        try {
            $internalUrl = $this->provider->url($object);
        } catch (UnsupportedException $exception) {
            return [];
        }

        return $this
            ->doctrine
            ->getRepository('ZichtUrlBundle:UrlAlias')
            ->findAllByInternalUrl($internalUrl);
    }
protected function getUrlAliases($object)
    {
        try {
            $internalUrl = $this->provider->url($object);
        } catch (UnsupportedException $exception) {
            return [];
        }

        return $this
            ->doctrine
            ->getRepository('ZichtUrlBundle:UrlAlias')
            ->findAllByInternalUrl($internalUrl);
    }
protected function getUrlAliases ( $ object ) { try { $ internalUrl = $ this -> provider -> url ( $ object ) ; } catch ( UnsupportedException $ exception ) { return [ ] ; } return $ this -> doctrine -> getRepository ( 'ZichtUrlBundle:UrlAlias' ) -> findAllByInternalUrl ( $ internalUrl ) ; }
Returns all UrlAlias entities associated to an object

@param mixed $object
@return mixed
Returns all UrlAlias entities associated to an object