get() публичный Метод

public get ( $name ) : mixed
$name
Результат mixed
Пример #1
0
 /** @test */
 public function it_returns_cookie_value()
 {
     $cookies = new Cookies();
     $cookies->fill($this->cookieFileName);
     $this->assertEquals('123456', $cookies->get('csrftoken'));
 }
 /**
  * Get a cookie value by name
  *
  * @param $name
  * @return mixed
  */
 public function cookie($name)
 {
     return $this->cookies->get($name);
 }