so here is the problem
//echo $classname; by october is use System\Models\File; in my case Kakuki\Portfolio\Models\PortfolioFile
$validationRules = ['max:'.$classname::getMaxFilesize()];
than getMaxFilesize() is implemented in
use October\Rain\Database\Attach\File as FileBase;
which I use in my Model but this does not seems to exists
"error":"Call to undefined method Illuminate\\Database\\Query\\Builder::getMaxFilesize()"
Last updated