public function setFileExtensions(string $value)
    {
        $this->fileExtensions = $value;

        $this->addValidationRule('mimes:' . $value);

        return $this;
    }
public function setFileExtensions(string $value)
    {
        $this->fileExtensions = $value;

        $this->addValidationRule('mimes:' . $value);

        return $this;
    }
public function setFileExtensions ( string $ value ) { $ this -> fileExtensions = $ value ; $ this -> addValidationRule ( 'mimes:' . $ value ) ; return $ this ; }
A list of allowable extensions that can be uploaded.

@param string $value

@return $this
A list of allowable extensions that can be uploaded .