ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Dflydev\FigCookies Namespace Reference

Data Structures

class  Cookie
 
class  Cookies
 
class  CookiesTest
 
class  CookieTest
 
class  FigCookiesTest
 
class  FigCookieTestingRequest
 
class  FigCookieTestingResponse
 
class  FigRequestCookies
 
class  FigRequestCookiesTest
 
class  FigResponseCookies
 
class  FigResponseCookiesTest
 
class  SetCookie
 
class  SetCookies
 
class  SetCookiesTest
 
class  SetCookieTest
 
class  StringUtil
 

Functions

 getProtocolVersion ()
 
 withProtocolVersion ($version)
 
 hasHeader ($name)
 
 withHeader ($name, $value)
 
 withAddedHeader ($name, $value)
 
 withoutHeader ($name)
 
 getBody ()
 
 withBody (StreamInterface $body)
 
 getHeaders ()
 
 getHeader ($name)
 
 getHeaderLine ($name)
 
 getHeaderLines ($name)
 

Variables

trait FigCookieTestingMessage
 

Function Documentation

◆ getBody()

Dflydev\FigCookies\getBody ( )

Definition at line 58 of file FigCookieTestingMessage.php.

59  {
60  throw new \RuntimeException("This method has not been implemented.");
61  }

◆ getHeader()

Dflydev\FigCookies\getHeader (   $name)

Definition at line 73 of file FigCookieTestingMessage.php.

References $name.

Referenced by Gettext\Translations\getDomain(), Gettext\Translations\getLanguage(), Gettext\Translations\getPluralForms(), and Gettext\Translations\mergeWith().

74  {
75  if (! isset($this->headers[$name])) {
76  return [];
77  }
78 
79  return $this->headers[$name];
80  }
+ Here is the caller graph for this function:

◆ getHeaderLine()

Dflydev\FigCookies\getHeaderLine (   $name)

Definition at line 82 of file FigCookieTestingMessage.php.

References $name.

83  {
84  return implode(',', $this->headers[$name]);
85  }

◆ getHeaderLines()

Dflydev\FigCookies\getHeaderLines (   $name)

Definition at line 87 of file FigCookieTestingMessage.php.

References $name.

88  {
89  if (! isset($this->headers[$name])) {
90  return [];
91  }
92 
93  return $this->headers[$name];
94  }

◆ getHeaders()

Dflydev\FigCookies\getHeaders ( )

Definition at line 68 of file FigCookieTestingMessage.php.

69  {
70  throw new \RuntimeException("This method has not been implemented.");
71  }

◆ getProtocolVersion()

Dflydev\FigCookies\getProtocolVersion ( )

Definition at line 10 of file FigCookieTestingMessage.php.

11  {
12  throw new \RuntimeException("This method has not been implemented.");
13  }

◆ hasHeader()

Dflydev\FigCookies\hasHeader (   $name)

Definition at line 20 of file FigCookieTestingMessage.php.

21  {
22  throw new \RuntimeException("This method has not been implemented.");
23  }

◆ withAddedHeader()

Dflydev\FigCookies\withAddedHeader (   $name,
  $value 
)

Definition at line 34 of file FigCookieTestingMessage.php.

References $name.

Referenced by Dflydev\FigCookies\SetCookiesTest\it_gets_and_updates_set_cookie_value_on_request().

35  {
36  $clone = clone($this);
37 
38  if (! isset($clone->headers[$name])) {
39  $clone->headers[$name] = [];
40  }
41 
42  $clone->headers[$name][] = $value;
43 
44  return $clone;
45  }
+ Here is the caller graph for this function:

◆ withBody()

Dflydev\FigCookies\withBody ( StreamInterface  $body)

Definition at line 63 of file FigCookieTestingMessage.php.

64  {
65  throw new \RuntimeException("This method has not been implemented.");
66  }

◆ withHeader()

◆ withoutHeader()

Dflydev\FigCookies\withoutHeader (   $name)

Definition at line 47 of file FigCookieTestingMessage.php.

References $name.

48  {
49  $clone = clone($this);
50 
51  if (isset($clone->headers[$name])) {
52  unset($clone->headers[$name]);
53  }
54 
55  return $clone;
56  }

◆ withProtocolVersion()

Dflydev\FigCookies\withProtocolVersion (   $version)

Definition at line 15 of file FigCookieTestingMessage.php.

16  {
17  throw new \RuntimeException("This method has not been implemented.");
18  }

Variable Documentation

◆ FigCookieTestingMessage

trait Dflydev::FigCookies\FigCookieTestingMessage
Initial value:
{
private $headers = []

Definition at line 8 of file FigCookieTestingMessage.php.