PHP 클래스 Bolt\Exception\BootException

저자: Gawain Lynch ([email protected])
상속: extends RuntimeExceptio\RuntimeException
파일 보기 프로젝트 열기: bolt/bolt 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$response Symfony\Component\HttpFoundation\Response

공개 메소드들

메소드 설명
__construct ( string $message, integer $code, Exception $previous = null, Response $response = null ) Constructor.
earlyException ( string $message ) Output an exception *very* early in the load-chain.
earlyExceptionComposer ( ) Exception due to a missing vendor/autoload.php file.
earlyExceptionMissingLoaderConfig ( ) Exception due to a missing .bolt.yml or .bolt.php file.
earlyExceptionVersion ( ) Exception due to a PHP version being unsupported.
getResponse ( ) : Response
hasResponse ( ) : boolean
setResponse ( Response $response )

보호된 메소드들

메소드 설명
getEarlyExceptionHtml ( ) : string Template for early exception HTML to be parsed by sprintf() prior to output.
getHintsComposer ( ) : string Footer hints for missing autoload.php exceptions.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $message, integer $code, Exception $previous = null, Response $response = null )
$message string
$code integer
$previous Exception
$response Symfony\Component\HttpFoundation\Response

earlyException() 공개 정적인 메소드

Output an exception *very* early in the load-chain.
public static earlyException ( string $message )
$message string

earlyExceptionComposer() 공개 정적인 메소드

Exception due to a missing vendor/autoload.php file.
public static earlyExceptionComposer ( )

earlyExceptionMissingLoaderConfig() 공개 정적인 메소드

Exception due to a missing .bolt.yml or .bolt.php file.

earlyExceptionVersion() 공개 정적인 메소드

Exception due to a PHP version being unsupported.
public static earlyExceptionVersion ( )

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

Template for early exception HTML to be parsed by sprintf() prior to output.
protected static getEarlyExceptionHtml ( ) : string
리턴 string

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

Footer hints for missing autoload.php exceptions.
protected static getHintsComposer ( ) : string
리턴 string

getResponse() 공개 메소드

public getResponse ( ) : Response
리턴 Symfony\Component\HttpFoundation\Response

hasResponse() 공개 메소드

public hasResponse ( ) : boolean
리턴 boolean

setResponse() 공개 메소드

public setResponse ( Response $response )
$response Symfony\Component\HttpFoundation\Response

프로퍼티 상세

$response 보호되어 있는 프로퍼티

protected Response,Symfony\Component\HttpFoundation $response
리턴 Symfony\Component\HttpFoundation\Response