src/Common/Controller/Base.php
public static function populatePageData(array &$aData)
    {
        /** @var Locale $oLocale */
        $oLocale       = Factory::service('Locale');
        $aData['page'] = (object) [
            'title'     => '',
            'html_lang' => $oLocale->get()->getLanguage(),
            'seo'       => (object) [
                'title'       => '',
                'description' => '',
                'keywords'    => '',
            ],
        ];
    }
public static function populatePageData(array &$aData)
    {
        /** @var Locale $oLocale */
        $oLocale       = Factory::service('Locale');
        $aData['page'] = (object) [
            'title'     => '',
            'html_lang' => $oLocale->get()->getLanguage(),
            'seo'       => (object) [
                'title'       => '',
                'description' => '',
                'keywords'    => '',
            ],
        ];
    }
public static function populatePageData ( array & $ aData ) { /** @var Locale $oLocale */ $ oLocale = Factory :: service ( 'Locale' ) ; $ aData [ 'page' ] = ( object ) [ 'title' => '' , 'html_lang' => $ oLocale -> get ( ) -> getLanguage ( ) , 'seo' => ( object ) [ 'title' => '' , 'description' => '' , 'keywords' => '' , ] , ] ; }
Populates an array with a default object for page and SEO

@param array $aData The array to populate
Populates an array with a default object for page and SEO