PHP Класс Neos\Flow\Http\Client\InternalRequestEngine

This engine is particularly useful in functional test scenarios.
Наследование: implements Neos\Flow\Http\Client\RequestEngineInterface
Показать файл Открыть проект

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

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

Открытые методы

Метод Описание
getRouter ( ) : Router Returns the router used by this internal request engine
injectSettings ( array $settings ) : void
sendRequest ( Request $httpRequest ) : Response Sends the given HTTP request

Защищенные методы

Метод Описание
prepareErrorResponse ( object $exception, Response $response ) : void Prepare a response in case an error occurred.

Описание методов

getRouter() публичный метод

Returns the router used by this internal request engine
public getRouter ( ) : Router
Результат Neos\Flow\Mvc\Routing\Router

injectSettings() публичный метод

public injectSettings ( array $settings ) : void
$settings array
Результат void

prepareErrorResponse() защищенный метод

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
Результат void

sendRequest() публичный метод

Sends the given HTTP request
public sendRequest ( Request $httpRequest ) : Response
$httpRequest Neos\Flow\Http\Request
Результат Neos\Flow\Http\Response

Описание свойств

$bootstrap защищенное свойство

protected Bootstrap,Neos\Flow\Core $bootstrap
Результат Neos\Flow\Core\Bootstrap

$configurationManager защищенное свойство

protected ConfigurationManager,Neos\Flow\Configuration $configurationManager
Результат Neos\Flow\Configuration\ConfigurationManager

$dispatcher защищенное свойство

protected Dispatcher,Neos\Flow\Mvc $dispatcher
Результат Neos\Flow\Mvc\Dispatcher

$persistenceManager защищенное свойство

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
Результат Neos\Flow\Persistence\PersistenceManagerInterface

$router защищенное свойство

protected Router,Neos\Flow\Mvc\Routing $router
Результат Neos\Flow\Mvc\Routing\Router

$securityContext защищенное свойство

protected Context,Neos\Flow\Security $securityContext
Результат Neos\Flow\Security\Context

$settings защищенное свойство

protected array $settings
Результат array

$validatorResolver защищенное свойство

protected ValidatorResolver,Neos\Flow\Validation $validatorResolver
Результат Neos\Flow\Validation\ValidatorResolver