Markette\Gopay\Service\AbstractService::setSuccessUrl PHP Méthode

setSuccessUrl() public méthode

Sets URL when successful
public setSuccessUrl ( string $url ) : self
$url string
Résultat self
    public function setSuccessUrl($url)
    {
        if (substr($url, 0, 4) !== 'http') {
            $url = 'http://' . $url;
        }
        $this->successUrl = $url;
        return $this;
    }