for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Sebastian Kroczek <[email protected]>
* @copyright Copyright (c) Sebastian Kroczek
* @license http://mit-license.org/
*
* @link https://github.com/thephpleague/oauth2-server
*/
namespace League\OAuth2\Server\Entities\Traits;
trait ClaimEntityTrait
{
* @var string
protected $name;
* @var mixed
protected $value;
* Returns the name of the claim
* @return string
public function getName()
return $this->name;
}
* Returns the claims value
* @return mixed
public function getValue()
return $this->value;