Call to a member function getClientOriginalExtension() on array code example
Example 1: getClientOriginalExtension laravel
$extension = Input::file('photo')->getClientOriginalExtension();
Example 2: getClientOriginalExtension laravel
if (Input::file('photo')->isValid())
{
//
}