protected function findActionClosure(array $action)
    {
        return Arr::first($action, function ($key, $value)
        {
            return is_callable($value) && is_numeric($key);
        });
    }
protected function findActionClosure(array $action)
    {
        return Arr::first($action, function ($key, $value)
        {
            return is_callable($value) && is_numeric($key);
        });
    }
protected function findActionClosure ( array $ action ) { return Arr :: first ( $ action , function ( $ key , $ value ) { return is_callable ( $ value ) && is_numeric ( $ key ) ; } ) ; }
Find the Closure in an action array.

@param  array  $action
@return \Closure
Find the Closure in an action array .