public function setMaxFileSize(int $value)
    {
        $this->maxFileSize = $value;

        $this->addValidationRule('max:' . $this->maxFileSize);

        return $this;
    }
public function setMaxFileSize(int $value)
    {
        $this->maxFileSize = $value;

        $this->addValidationRule('max:' . $this->maxFileSize);

        return $this;
    }
public function setMaxFileSize ( int $ value ) { $ this -> maxFileSize = $ value ; $ this -> addValidationRule ( 'max:' . $ this -> maxFileSize ) ; return $ this ; }
The maximum size allowed for an uploaded file in kilobytes

@param int $value

@return $this
The maximum size allowed for an uploaded file in kilobytes