Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What exactly laravel's isValid method does?

I was reading the Laravel's docs and I've stumbled upon this isValid() method, that returns TRUE or FALSE whether the file is valid or not.

But... What this method actually does? I know it returns TRUE or FALSE, but what is behind this check? Over what is checking if is valid or not? I've googled for a while but can't really find something useful...

Can you guys explain me this?

Thanks!

like image 715
Caius Avatar asked Oct 18 '25 16:10

Caius


1 Answers

It means if there is no errors ocurred during the file upload process either by OS/WebServer/php i.e. it has moved to the temporary location successfully

like image 199
msonowal Avatar answered Oct 20 '25 06:10

msonowal