protected function setMaxSize($maxSize)
    {
        $this->maxSize = $this->toBytes($maxSize);
        $this->maxSizeString = $this->fromBytes($this->maxSize);
        return $this;
    }
protected function setMaxSize($maxSize)
    {
        $this->maxSize = $this->toBytes($maxSize);
        $this->maxSizeString = $this->fromBytes($this->maxSize);
        return $this;
    }
protected function setMaxSize ( $ maxSize ) { $ this -> maxSize = $ this -> toBytes ( $ maxSize ) ; $ this -> maxSizeString = $ this -> fromBytes ( $ this -> maxSize ) ; return $ this ; }
Set maximum file size

@param string|int $maxSize
@return File
Set maximum file size