public function process()
    {
        $pages = $this->pages;

        foreach ($this->plugins as $plugin)
        {
            $pages = $plugin($pages);
        }
        
        return $pages ?: [];
    }
public function process()
    {
        $pages = $this->pages;

        foreach ($this->plugins as $plugin)
        {
            $pages = $plugin($pages);
        }
        
        return $pages ?: [];
    }
public function process ( ) { $ pages = $ this -> pages ; foreach ( $ this -> plugins as $ plugin ) { $ pages = $ plugin ( $ pages ) ; } return $ pages ? : [ ] ; }
Process pages via plugins and return the content

@return array
Process pages via plugins and return the content