You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v::directory()->assert(__DIR__);
// Validation passes successfully
v::directory()->assert(__FILE__);
// → "/path/to/file" must be an accessible existing directory
This validator will consider SplFileInfo instances, so you can do something like: