PHP Class Bolt\Exception\BootException

Author: Gawain Lynch ([email protected])
Inheritance: extends RuntimeExceptio\RuntimeException
Afficher le fichier Open project: bolt/bolt Class Usage Examples

Protected Properties

Свойство Type Description
$response Symfony\Component\HttpFoundation\Response

Méthodes publiques

Méthode Description
__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 )

Méthodes protégées

Méthode Description
getEarlyExceptionHtml ( ) : string Template for early exception HTML to be parsed by sprintf() prior to output.
getHintsComposer ( ) : string Footer hints for missing autoload.php exceptions.

Method Details

__construct() public méthode

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() public static méthode

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

earlyExceptionComposer() public static méthode

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

earlyExceptionMissingLoaderConfig() public static méthode

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

earlyExceptionVersion() public static méthode

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

getEarlyExceptionHtml() protected static méthode

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

getHintsComposer() protected static méthode

Footer hints for missing autoload.php exceptions.
protected static getHintsComposer ( ) : string
Résultat string

getResponse() public méthode

public getResponse ( ) : Response
Résultat Symfony\Component\HttpFoundation\Response

hasResponse() public méthode

public hasResponse ( ) : boolean
Résultat boolean

setResponse() public méthode

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

Property Details

$response protected_oe property

protected Response,Symfony\Component\HttpFoundation $response
Résultat Symfony\Component\HttpFoundation\Response