public function getRedirects()
    {
        $redirects = $this->repository->redirects;
        if ($redirects === null) {
            $redirects = array();
        }
        usort($redirects, array($this, 'cmp'));
        return $redirects;
    }
public function getRedirects()
    {
        $redirects = $this->repository->redirects;
        if ($redirects === null) {
            $redirects = array();
        }
        usort($redirects, array($this, 'cmp'));
        return $redirects;
    }
public function getRedirects ( ) { $ redirects = $ this -> repository -> redirects ; if ( $ redirects === null ) { $ redirects = array ( ) ; } usort ( $ redirects , array ( $ this , 'cmp' ) ) ; return $ redirects ; }
Get all redirects

@return mixed
Get all redirects