PHP Class Phprest\ErrorHandler\Formatter\JsonXml

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

Protected Properties

Property Type Description
$config Phprest\Config
$request null | Symfony\Component\HttpFoundation\Request

Public Methods

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

Protected Methods

Method Description
getContainer ( ) : League\Container\ContainerInterface

Method Details

__construct() public method

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

format() public method

public format ( Exception $exception ) : string
$exception Exception
return string

getContainer() protected method

protected getContainer ( ) : League\Container\ContainerInterface
return League\Container\ContainerInterface

Property Details

$config protected_oe property

protected Config,Phprest $config
return Phprest\Config

$request protected_oe property

protected null|Request,Symfony\Component\HttpFoundation $request
return null | Symfony\Component\HttpFoundation\Request