src/Charcoal/Cms/Service/Manager/NewsManager.php
public function all()
    {
        if ($this->all) {
            return $this->all;
        }

        $this->all = $this->loader()->all()->addOrder('news_date', 'desc')->load();

        return $this->all;
    }
public function all()
    {
        if ($this->all) {
            return $this->all;
        }

        $this->all = $this->loader()->all()->addOrder('news_date', 'desc')->load();

        return $this->all;
    }
public function all ( ) { if ( $ this -> all ) { return $ this -> all ; } $ this -> all = $ this -> loader ( ) -> all ( ) -> addOrder ( 'news_date' , 'desc' ) -> load ( ) ; return $ this -> all ; }
All available news.
@return NewsInterface[]|Collection The news collection.
All available news .