PHP Интерфейс Pinq\Parsing\IMagicConstants

Автор: Elliot Levin ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
getClass ( ) : string Gets the value of the __CLASS__ magic constant.
getDirectory ( ) : string Gets the value of the __DIR__ magic constant.
getFile ( ) : string Gets the value of the __FILE__ magic constant.
getFunction ( boolean $isWithinClosure ) : string Gets the value of the __FUNCTION__ magic constant.
getMethod ( boolean $isWithinClosure ) : string Gets the value of the __METHOD__ magic constant.
getNamespace ( ) : string Gets the value of the __NAMESPACE__ magic constant.
getTrait ( ) : string Gets the value of the __TRAIT__ magic constant.

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

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

Gets the value of the __CLASS__ magic constant.
public getClass ( ) : string
Результат string

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

Gets the value of the __DIR__ magic constant.
public getDirectory ( ) : string
Результат string

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

Gets the value of the __FILE__ magic constant.
public getFile ( ) : string
Результат string

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

Gets the value of the __FUNCTION__ magic constant.
public getFunction ( boolean $isWithinClosure ) : string
$isWithinClosure boolean If within a closure defined in the function
Результат string

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

Gets the value of the __METHOD__ magic constant.
public getMethod ( boolean $isWithinClosure ) : string
$isWithinClosure boolean If within a closure defined in the function
Результат string

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

Gets the value of the __NAMESPACE__ magic constant.
public getNamespace ( ) : string
Результат string

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

Gets the value of the __TRAIT__ magic constant.
public getTrait ( ) : string
Результат string