for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace League\OAuth2\Server\Entities;
/**
* ClaimSetEntry
*
* @author Steve Rhoades <[email protected]>
* @author Marc Riemer <[email protected]>
* @license http://opensource.org/licenses/MIT MIT
*/
class ClaimSetEntry implements ClaimSetEntryInterface
{
* @var string
protected $scope;
* @var array
protected $claims;
public function __construct(
string $scope,
array $claims
) {
$this->scope = $scope;
$this->claims = $claims;
}
* Get scope
* @return string
public function getScope(): string
return $this->scope;
* Get claims
* @return ClaimSetInterface[]
public function getClaims(): array
return $this->claims;