PHP Класс Jade\Compiler\CommonUtils

Common static methods for compiler and lexer classes.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
addDollarIfNeeded ( string $call ) : string
escapedEnd ( string $quotedString ) : boolean Return true if the ending quote of the string is escaped.
getGetter ( object | array $anything, $key ) : string Return true if the ending quote of the string is escaped.

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

addDollarIfNeeded() публичный статический Метод

public static addDollarIfNeeded ( string $call ) : string
$call string
Результат string

escapedEnd() публичный статический Метод

Return true if the ending quote of the string is escaped.
public static escapedEnd ( string $quotedString ) : boolean
$quotedString string
Результат boolean

getGetter() публичный статический Метод

Return true if the ending quote of the string is escaped.
public static getGetter ( object | array $anything, $key ) : string
$anything object | array object or array (PHP >= 7) that contains a callable
Результат string