private function loadResourceFiles()
    {
        return $this->replaceExecutableCode(
            $this->loadResourcesFiles()
        )->mapWithKeys(function ($value, $key) {
            return [$this->removeExtension($key) => $value];
        });
    }
private function loadResourceFiles()
    {
        return $this->replaceExecutableCode(
            $this->loadResourcesFiles()
        )->mapWithKeys(function ($value, $key) {
            return [$this->removeExtension($key) => $value];
        });
    }
private function loadResourceFiles ( ) { return $ this -> replaceExecutableCode ( $ this -> loadResourcesFiles ( ) ) -> mapWithKeys ( function ( $ value , $ key ) { return [ $ this -> removeExtension ( $ key ) => $ value ] ; } ) ; }
Load resources in files.

@return \Illuminate\Support\Collection
Load resources in files .