Prado\Web\THttpCookie::getValue PHP Метод

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

public getValue ( ) : string
Результат string the value of the cookie
    public function getValue()
    {
        return $this->_value;
    }

Usage Example

Пример #1
0
 public function testSetValue()
 {
     $cookie = new THttpCookie('name', 'value');
     $cookie->setValue('newValue');
     self::assertEquals('newValue', $cookie->getValue());
 }