public function setAcknowledgement(string $acknowledgement): SecurityTxt
    {
        if (filter_var($acknowledgement, FILTER_VALIDATE_URL) === false) {
            throw new Exception('Acknowledgement must be a well-formed URL.');
        }

        $this->acknowledgement = $acknowledgement;

        return $this;
    }
public function setAcknowledgement(string $acknowledgement): SecurityTxt
    {
        if (filter_var($acknowledgement, FILTER_VALIDATE_URL) === false) {
            throw new Exception('Acknowledgement must be a well-formed URL.');
        }

        $this->acknowledgement = $acknowledgement;

        return $this;
    }
public function setAcknowledgement ( string $ acknowledgement ) : SecurityTxt { if ( filter_var ( $ acknowledgement , FILTER_VALIDATE_URL ) === false ) { throw new Exception ( 'Acknowledgement must be a well-formed URL.' ) ; } $ this -> acknowledgement = $ acknowledgement ; return $ this ; }
Set the acknowledgement URL.

@param  string $acknowledgement

@return SecurityTxt
Set the acknowledgement URL .