PHP Class Neos\Flow\Http\Client\InternalRequestEngine

This engine is particularly useful in functional test scenarios.
Inheritance: implements Neos\Flow\Http\Client\RequestEngineInterface
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$bootstrap Neos\Flow\Core\Bootstrap
$configurationManager Neos\Flow\Configuration\ConfigurationManager
$dispatcher Neos\Flow\Mvc\Dispatcher
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$router Neos\Flow\Mvc\Routing\Router
$securityContext Neos\Flow\Security\Context
$settings array
$validatorResolver Neos\Flow\Validation\ValidatorResolver

Méthodes publiques

Méthode Description
getRouter ( ) : Router Returns the router used by this internal request engine
injectSettings ( array $settings ) : void
sendRequest ( Request $httpRequest ) : Response Sends the given HTTP request

Méthodes protégées

Méthode Description
prepareErrorResponse ( object $exception, Response $response ) : void Prepare a response in case an error occurred.

Method Details

getRouter() public méthode

Returns the router used by this internal request engine
public getRouter ( ) : Router
Résultat Neos\Flow\Mvc\Routing\Router

injectSettings() public méthode

public injectSettings ( array $settings ) : void
$settings array
Résultat void

prepareErrorResponse() protected méthode

Prepare a response in case an error occurred.
protected prepareErrorResponse ( object $exception, Response $response ) : void
$exception object \Exception or \Throwable
$response Neos\Flow\Http\Response
Résultat void

sendRequest() public méthode

Sends the given HTTP request
public sendRequest ( Request $httpRequest ) : Response
$httpRequest Neos\Flow\Http\Request
Résultat Neos\Flow\Http\Response

Property Details

$bootstrap protected_oe property

protected Bootstrap,Neos\Flow\Core $bootstrap
Résultat Neos\Flow\Core\Bootstrap

$configurationManager protected_oe property

protected ConfigurationManager,Neos\Flow\Configuration $configurationManager
Résultat Neos\Flow\Configuration\ConfigurationManager

$dispatcher protected_oe property

protected Dispatcher,Neos\Flow\Mvc $dispatcher
Résultat Neos\Flow\Mvc\Dispatcher

$persistenceManager protected_oe property

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
Résultat Neos\Flow\Persistence\PersistenceManagerInterface

$router protected_oe property

protected Router,Neos\Flow\Mvc\Routing $router
Résultat Neos\Flow\Mvc\Routing\Router

$securityContext protected_oe property

protected Context,Neos\Flow\Security $securityContext
Résultat Neos\Flow\Security\Context

$settings protected_oe property

protected array $settings
Résultat array

$validatorResolver protected_oe property

protected ValidatorResolver,Neos\Flow\Validation $validatorResolver
Résultat Neos\Flow\Validation\ValidatorResolver