v1.0.0
English

FileLocator.php

system/Autoloader/FileLocator.php
1 class 10 methods

class FileLocator

Allows loading non-class files in a namespaced manner. Works with Helpers, Views, etc.
__construct (Autoloader $autoloader) public
locateFile (string $file, ?string $folder = null, string $ext = 'php') public
getClassname (string $file) public
search (string $path, string $ext = 'php', bool $prioritizeApp = true) public
ensureExt (string $path, string $ext) protected
getNamespaces () protected
findQualifiedNameFromPath (string $path) public
listFiles (string $path) public
listNamespaceFiles (string $prefix, string $path) public
legacyLocate (string $file, ?string $folder = null) protected
phpDG v1.0.0 FileLocator.php 662 files 498 classes 763 fn
Generated