PHP 클래스 Kraken\Throwable\Throwable

파일 보기 프로젝트 열기: kraken-php/framework 1 사용 예제들

공개 메소드들

메소드 설명
getThrowableData ( Error | Exception $ex, integer $offset ) : string[] Return throwable data in array format.
getThrowableStack ( Error | Exception $ex, &$data = [], integer $offset ) : mixed Return throwable stack in recursive array format.
parseThrowableMessage ( string[] $ex ) : string Parse Throwable message to proper format.

보호된 메소드들

메소드 설명
getBasename ( string $class ) : string
getTraceElements ( Error | Exception $ex, integer $offset ) : string[]
parseArgs ( mixed[] $args ) : string
parseTraceElement ( mixed[] $element ) : string

메소드 상세

getBasename() 보호된 정적인 메소드

protected static getBasename ( string $class ) : string
$class string
리턴 string

getThrowableData() 공개 정적인 메소드

Return throwable data in array format.
public static getThrowableData ( Error | Exception $ex, integer $offset ) : string[]
$ex Error | Exception
$offset integer
리턴 string[]

getThrowableStack() 공개 정적인 메소드

Return throwable stack in recursive array format.
public static getThrowableStack ( Error | Exception $ex, &$data = [], integer $offset ) : mixed
$ex Error | Exception
$offset integer
리턴 mixed

getTraceElements() 보호된 정적인 메소드

protected static getTraceElements ( Error | Exception $ex, integer $offset ) : string[]
$ex Error | Exception
$offset integer
리턴 string[]

parseArgs() 보호된 정적인 메소드

protected static parseArgs ( mixed[] $args ) : string
$args mixed[]
리턴 string

parseThrowableMessage() 공개 정적인 메소드

Parse Throwable message to proper format.
public static parseThrowableMessage ( string[] $ex ) : string
$ex string[]
리턴 string

parseTraceElement() 보호된 정적인 메소드

protected static parseTraceElement ( mixed[] $element ) : string
$element mixed[]
리턴 string