PHP Class Phprest\ErrorHandler\Formatter\JsonXml

Inheritance: extends League\BooBoo\Formatter\AbstractFormatter, use trait Phprest\Service\Hateoas\Getter, use trait Phprest\Service\Hateoas\Util
Afficher le fichier Open project: phprest/phprest Class Usage Examples

Protected Properties

Свойство Type Description
$config Phprest\Config
$request null | Symfony\Component\HttpFoundation\Request

Méthodes publiques

Méthode Description
__construct ( Config $config, Request $request = null )
format ( Exception $exception ) : string

Méthodes protégées

Méthode Description
getContainer ( ) : League\Container\ContainerInterface

Method Details

__construct() public méthode

public __construct ( Config $config, Request $request = null )
$config Phprest\Config
$request Symfony\Component\HttpFoundation\Request

format() public méthode

public format ( Exception $exception ) : string
$exception Exception
Résultat string

getContainer() protected méthode

protected getContainer ( ) : League\Container\ContainerInterface
Résultat League\Container\ContainerInterface

Property Details

$config protected_oe property

protected Config,Phprest $config
Résultat Phprest\Config

$request protected_oe property

protected null|Request,Symfony\Component\HttpFoundation $request
Résultat null | Symfony\Component\HttpFoundation\Request