protected function getMultisite()
    {
        $sites = [];
        $multiSiteFile = sprintf(
            '%s/sites/sites.php',
            $this->appRoot
        );

        if (file_exists($multiSiteFile)) {
            include $multiSiteFile;
        }

        if (!$sites) {
            $this->getIo()->error(
                $this->trans('commands.debug.multisite.messages.no-multisites')
            );

            return 1;
        }

        return $sites;
    }
protected function getMultisite()
    {
        $sites = [];
        $multiSiteFile = sprintf(
            '%s/sites/sites.php',
            $this->appRoot
        );

        if (file_exists($multiSiteFile)) {
            include $multiSiteFile;
        }

        if (!$sites) {
            $this->getIo()->error(
                $this->trans('commands.debug.multisite.messages.no-multisites')
            );

            return 1;
        }

        return $sites;
    }
protected function getMultisite ( ) { $ sites = [ ] ; $ multiSiteFile = sprintf ( '%s/sites/sites.php' , $ this -> appRoot ) ; if ( file_exists ( $ multiSiteFile ) ) { include $ multiSiteFile ; } if ( ! $ sites ) { $ this -> getIo ( ) -> error ( $ this -> trans ( 'commands.debug.multisite.messages.no-multisites' ) ) ; return 1 ; } return $ sites ; }
Get all Multisites.
Get all Multisites .