classes/Fields/Former/MethodDispatcher.php
protected function getClassFromMethod($method)
    {
        // Look for a studly class
        $class = Str::singular(Str::studly($method));

        foreach ($this->repositories as $repository) {
            if (class_exists($repository.$class)) {
                return $repository.$class;
            }
        }

        // Resume normal functioning
        return parent::getClassFromMethod($method);
    }
protected function getClassFromMethod($method)
    {
        // Look for a studly class
        $class = Str::singular(Str::studly($method));

        foreach ($this->repositories as $repository) {
            if (class_exists($repository.$class)) {
                return $repository.$class;
            }
        }

        // Resume normal functioning
        return parent::getClassFromMethod($method);
    }
protected function getClassFromMethod ( $ method ) { // Look for a studly class $ class = Str :: singular ( Str :: studly ( $ method ) ) ; foreach ( $ this -> repositories as $ repository ) { if ( class_exists ( $ repository . $ class ) ) { return $ repository . $ class ; } } // Resume normal functioning return parent :: getClassFromMethod ( $ method ) ; }
Override the parent so that study class names are respected on
case sensitive file systems.

@param  string $method The field created
@return string The correct class
Override the parent so that study class names are respected on case sensitive file systems .