Contao\Fixtures\PageModel::findPublishedRootPages PHP Method

findPublishedRootPages() public static method

public static findPublishedRootPages ( )
    public static function findPublishedRootPages()
    {
        $page1 = new \stdClass();
        $page1->dns = '';
        $page1->fallback = '1';
        $page1->language = 'en';
        $page2 = new \stdClass();
        $page2->dns = 'test.com';
        $page2->fallback = '';
        $page2->language = 'en';
        return new Collection([$page1, $page2], 'tl_page');
    }