Prado\Web\THttpCookie::getName PHP Méthode

getName() public méthode

public getName ( ) : string
Résultat string the name of the cookie
    public function getName()
    {
        return $this->_name;
    }

Usage Example

Exemple #1
0
 public function testSetName()
 {
     $cookie = new THttpCookie('name', 'value');
     $cookie->setName('newName');
     self::assertEquals('newName', $cookie->getName());
 }