public function createHostedConfiguration() : bool
    {
        $retval = false;

        if ($this->apache_config_path) {
            $index_list = $this->nb_server->getSitesIndex();
            $index_list->iterate(
                function ($site_key, $nb_site) {
                    $this->createHostedFile($nb_site);

                    return true;
                }
            );
            $this->createHostedIndex($index_list);
            $retval = true;
        }

        return $retval;
    }
public function createHostedConfiguration() : bool
    {
        $retval = false;

        if ($this->apache_config_path) {
            $index_list = $this->nb_server->getSitesIndex();
            $index_list->iterate(
                function ($site_key, $nb_site) {
                    $this->createHostedFile($nb_site);

                    return true;
                }
            );
            $this->createHostedIndex($index_list);
            $retval = true;
        }

        return $retval;
    }
public function createHostedConfiguration ( ) : bool { $ retval = false ; if ( $ this -> apache_config_path ) { $ index_list = $ this -> nb_server -> getSitesIndex ( ) ; $ index_list -> iterate ( function ( $ site_key , $ nb_site ) { $ this -> createHostedFile ( $ nb_site ) ; return true ; } ) ; $ this -> createHostedIndex ( $ index_list ) ; $ retval = true ; } return $ retval ; }
Creates the Hosted Configuration files.
@return bool Return true if success.
Creates the Hosted Configuration files .