PHP Класс Bolt\Exception\BootException

Автор: Gawain Lynch ([email protected])
Наследование: extends RuntimeExceptio\RuntimeException
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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