public function title()
    {
        $heading = null;
        if (session()->has('active_menu')) {
            $heading = session('active_menu')->param('page_heading');
        }

        return $heading ? $heading : $this->entity->title;
    }
public function title()
    {
        $heading = null;
        if (session()->has('active_menu')) {
            $heading = session('active_menu')->param('page_heading');
        }

        return $heading ? $heading : $this->entity->title;
    }
public function title ( ) { $ heading = null ; if ( session ( ) -> has ( 'active_menu' ) ) { $ heading = session ( 'active_menu' ) -> param ( 'page_heading' ) ; } return $ heading ? $ heading : $ this -> entity -> title ; }
Get the article's title.

@return mixed
Get the article s title .