public function getRouteName()
    {
        if ($this->is_page) {
            return $this->alias;
        }

        return str_replace('category-', '', $this->category->getRouteName() . '.' . $this->alias);
    }
public function getRouteName()
    {
        if ($this->is_page) {
            return $this->alias;
        }

        return str_replace('category-', '', $this->category->getRouteName() . '.' . $this->alias);
    }
public function getRouteName ( ) { if ( $ this -> is_page ) { return $ this -> alias ; } return str_replace ( 'category-' , '' , $ this -> category -> getRouteName ( ) . '.' . $ this -> alias ) ; }
Get article's route name.

@return string
Get article s route name .