Constant summary
Methods summary
Modifier and Type | Method |
---|---|
public static | getIncludePaths ( ) |
public static | isRegistered ( ) |
public static | register ( bool useIncludePath = true , array psr4Map = array ) |
public static | init ( bool useIncludePath = true , array psr4Map = array ) |
public static | load ( string typeName ) |
public static ReflectionClass | loadType ( string typeName ) |
public static | isTypeLoaded ( unknown typeName ) |
public static | ensureTypeIsLoaded ( string typeName ) |
public static array | getNamespaceDirPaths ( string namespace ) |
public static | isTypeUnsafe ( unknown typeName ) |
public static | doesTypeExist ( unknown typeName , unknown fileExt = self ) |
public static | getFilePathOfType ( string typeName , unknown fileExt = self ) |
public static | namespaceOfTypeName ( unknown typeName ) |
public static TypeLoaderErrorException | getLatestException ( ) |
public static | clear ( ) |
public static | removeIncludePathOfFilePath ( unknown filePath ) |
Constants in detail
-
SCRIPT_FILE_EXTENSION
const SCRIPT_FILE_EXTENSION
Methods in detail
-
getIncludePaths
public static getIncludePaths ( ) -
isRegistered
public static isRegistered ( ) -
register
public static register ( bool useIncludePath = true , array psr4Map = array ) -
init
public static init ( bool useIncludePath = true , array psr4Map = array ) -
load
public static load ( string typeName ) -
loadType
ReflectionClass public static loadType ( string typeName ) -
isTypeLoaded
public static isTypeLoaded ( unknown typeName ) -
ensureTypeIsLoaded
public static ensureTypeIsLoaded ( string typeName ) -
getNamespaceDirPaths
array public static getNamespaceDirPaths ( string namespace ) -
isTypeUnsafe
public static isTypeUnsafe ( unknown typeName ) -
doesTypeExist
public static doesTypeExist ( unknown typeName , unknown fileExt = self ) -
getFilePathOfType
public static getFilePathOfType ( string typeName , unknown fileExt = self ) -
namespaceOfTypeName
public static namespaceOfTypeName ( unknown typeName ) -
getLatestException
return
-
clear
public static clear ( ) -
removeIncludePathOfFilePath
public static removeIncludePathOfFilePath ( unknown filePath )
param