src/Configuration/DefaultConfiguration.php
public function resetOpCacheFor(string $homepageUrl): self
    {
        if (!Str::startsWith($homepageUrl, 'http')) {
            throw new InvalidConfigurationException(sprintf('The value of %s option must be the valid URL of your homepage (it must start with http:// or https://).', Option::resetOpCacheFor));
        }

        $this->resetOpCacheFor = rtrim($homepageUrl, '/');

        return $this;
    }
public function resetOpCacheFor(string $homepageUrl): self
    {
        if (!Str::startsWith($homepageUrl, 'http')) {
            throw new InvalidConfigurationException(sprintf('The value of %s option must be the valid URL of your homepage (it must start with http:// or https://).', Option::resetOpCacheFor));
        }

        $this->resetOpCacheFor = rtrim($homepageUrl, '/');

        return $this;
    }
public function resetOpCacheFor ( string $ homepageUrl ) : self { if ( ! Str :: startsWith ( $ homepageUrl , 'http' ) ) { throw new InvalidConfigurationException ( sprintf ( 'The value of %s option must be the valid URL of your homepage (it must start with http:// or https://).' , Option :: resetOpCacheFor ) ) ; } $ this -> resetOpCacheFor = rtrim ( $ homepageUrl , '/' ) ; return $ this ; }
be deleted from the terminal and deployer must make a HTTP request to a real website URL
be deleted from the terminal and deployer must make a HTTP request to a real website URL