GeForce Manager
PHP Advanced
C:
/
xampp
/
htdocs
/
Ajaji
/
libraries
/
vendor
/
lcobucci
/
jwt
/
src
/
Token
/
Name
Size
Perms
Actions
📄
DataSet.php
1047 B
0666
Edit
Perms
Delete
📄
InvalidTokenStructure.php
747 B
0666
Edit
Perms
Delete
📄
RegisteredClaimGiven.php
587 B
0666
Edit
Perms
Delete
Editing:
RegisteredClaimGiven.php
<?php namespace Lcobucci\JWT\Token; use InvalidArgumentException; use Lcobucci\JWT\Exception; use function sprintf; final class RegisteredClaimGiven extends InvalidArgumentException implements Exception { const DEFAULT_MESSAGE = 'Builder#withClaim() is meant to be used for non-registered claims, ' . 'check the documentation on how to set claim "%s"'; /** * @param string $name * * @return self */ public static function forClaim($name) { return new self(sprintf(self::DEFAULT_MESSAGE, $name)); } }
Cancel