Lcobucci\JWT\ValidationData::get PHP Méthode

get() public méthode

Returns the requested item
public get ( string $name ) : mixed
$name string
Résultat mixed
    public function get(string $name)
    {
        return $this->items[$name] ?? null;
    }

Usage Example

Exemple #1
0
 /**
  * {@inheritdoc}
  */
 public function validate(ValidationData $data)
 {
     if ($data->has($this->getName())) {
         return $this->getValue() === $data->get($this->getName());
     }
     return true;
 }
All Usage Examples Of Lcobucci\JWT\ValidationData::get