Lcobucci\JWT\ValidationData::get PHP 메소드

get() 공개 메소드

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

Usage Example

예제 #1
0
파일: EqualsTo.php 프로젝트: jackysong/jwt
 /**
  * {@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