Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel throw function

public function isValid($value)
{
    try {
        // Validate the value...
    } catch (Throwable $e) {
        report($e);

        return false;
    }
}
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #throw #function
ADD COMMENT
Topic
Name
6+6 =