MakesHttpRequests
trait MakesHttpRequests (View source)
Properties
| protected Client | $client | ||
| protected array | $server | ||
| protected bool | $followRedirects | ||
| protected array | $firewallLogins | ||
| protected bool | $catchExceptions |
Methods
get(string $uri, array $queryParameters = [])
No description
post(string $uri, array $parameters = [])
No description
getJson(string $uri, array $content = [])
No description
postJson(string $uri, array $content = [])
No description
request(string $method, string $uri, array $parameters = [], array $files = [], $content = null, bool $changeHistory = true)
No description
json(string $method, string $uri, array $content)
No description
followRedirect()
No description
submit(Form $form, array $values = [])
No description
withHeaders(array $headers)
No description
click(Link $link)
No description
followingRedirects()
No description
loginAs(UserInterface $user, string $firewall = 'secured_area')
No description
catchExceptions()
No description
initClient()
No description
TokenInterface
createUserToken(UserInterface $user, string $firewallName)
No description
array
getKernelOptions()
No description