PHP Класс Elgg\ClassMap

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$altered boolean
$map array

Открытые методы

Метод Описание
getAltered ( ) : boolean Was this map altered by the class loader?
getMap ( ) : array Get the full map
getPath ( string $class ) : string Get the path for a class/interface/trait
mergeMap ( array $map ) : ClassMap Merge a class map with the current map
setAltered ( boolean $altered ) : ClassMap Set the altered flag
setMap ( array $map ) : ClassMap Set the full map
setPath ( string $class, string $path ) : ClassMap Set the path for a class/interface/trait, and mark map as altered

Описание методов

getAltered() публичный Метод

Was this map altered by the class loader?
public getAltered ( ) : boolean
Результат boolean

getMap() публичный Метод

Get the full map
public getMap ( ) : array
Результат array

getPath() публичный Метод

Get the path for a class/interface/trait
public getPath ( string $class ) : string
$class string a class/interface/trait name
Результат string the file path or empty string

mergeMap() публичный Метод

Merge a class map with the current map
public mergeMap ( array $map ) : ClassMap
$map array array with keys being class/interface/trait names and values the absolute file paths that define them
Результат ClassMap

setAltered() публичный Метод

Set the altered flag
public setAltered ( boolean $altered ) : ClassMap
$altered boolean Whether the class map has been altered
Результат ClassMap

setMap() публичный Метод

Set the full map
public setMap ( array $map ) : ClassMap
$map array array with keys being class/interface/trait names and values the absolute file paths that define them
Результат ClassMap

setPath() публичный Метод

Set the path for a class/interface/trait, and mark map as altered
public setPath ( string $class, string $path ) : ClassMap
$class string a class/interface/trait name
$path string absolute file path
Результат ClassMap

Описание свойств

$altered защищенное свойство

protected bool $altered
Результат boolean

$map защищенное свойство

protected array $map
Результат array