PHP 클래스 Jade\Compiler\CommonUtils

Common static methods for compiler and lexer classes.
파일 보기 프로젝트 열기: kylekatarnls/jade-php 1 사용 예제들

공개 메소드들

메소드 설명
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