private function loadResourcesFiles()
    {
        $files = $this->yaml->loadFromDirectory(
            config('health.resources.path')
        );

        $files =
            $files->count() == 0
                ? $this->yaml->loadFromDirectory(package_resources_dir())
                : $files;

        return $files;
    }
private function loadResourcesFiles()
    {
        $files = $this->yaml->loadFromDirectory(
            config('health.resources.path')
        );

        $files =
            $files->count() == 0
                ? $this->yaml->loadFromDirectory(package_resources_dir())
                : $files;

        return $files;
    }
private function loadResourcesFiles ( ) { $ files = $ this -> yaml -> loadFromDirectory ( config ( 'health.resources.path' ) ) ; $ files = $ files -> count ( ) == 0 ? $ this -> yaml -> loadFromDirectory ( package_resources_dir ( ) ) : $ files ; return $ files ; }
Load resource files.

@return \Illuminate\Support\Collection
Load resource files .