src/Entity/InternationalForms.php
public function setReasonForExport($reason)
    {
        if (strlen($reason) > 20) {
            $reason = substr($reason, 0, 20);
        }

        $this->reasonForExport = $reason;

        return $this;
    }
public function setReasonForExport($reason)
    {
        if (strlen($reason) > 20) {
            $reason = substr($reason, 0, 20);
        }

        $this->reasonForExport = $reason;

        return $this;
    }
public function setReasonForExport ( $ reason ) { if ( strlen ( $ reason ) > 20 ) { $ reason = substr ( $ reason , 0 , 20 ) ; } $ this -> reasonForExport = $ reason ; return $ this ; }
@param $reason

@return $this
@param $reason