src/Actions/Collection.php
public function find($name)
    {
        return $this->first(function ($action) use ($name) {
            return class_basename($action) === studly_case($name);
        });
    }
public function find($name)
    {
        return $this->first(function ($action) use ($name) {
            return class_basename($action) === studly_case($name);
        });
    }
public function find ( $ name ) { return $ this -> first ( function ( $ action ) use ( $ name ) { return class_basename ( $ action ) === studly_case ( $ name ) ; } ) ; }
Find action by name.

@param $name

@return mixed
Find action by name .