public function setUrl(string $url) : void
    {
        if (!filter_var(trim($url), FILTER_VALIDATE_URL) && substr(trim($url), 0, 5) !== 'data:') {
            throw new \InvalidArgumentException('mdui:Logo is not a valid URL.');
        }
        $this->url = $url;
    }
public function setUrl(string $url) : void
    {
        if (!filter_var(trim($url), FILTER_VALIDATE_URL) && substr(trim($url), 0, 5) !== 'data:') {
            throw new \InvalidArgumentException('mdui:Logo is not a valid URL.');
        }
        $this->url = $url;
    }
public function setUrl ( string $ url ) : void { if ( ! filter_var ( trim ( $ url ) , FILTER_VALIDATE_URL ) && substr ( trim ( $ url ) , 0 , 5 ) !== 'data:' ) { throw new \ InvalidArgumentException ( 'mdui:Logo is not a valid URL.' ) ; } $ this -> url = $ url ; }
Set the value of the url-property

@param string $url
@return void
Set the value of the url - property