for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
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
{
* Summary of __construct
* @param string $scope Scope of the claimset
* @param string[] $claims The claims
public function __construct(
protected string $scope,
protected array $claims
) {
}
* Get scope
public function getScope(): string
return $this->scope;
* Get claims
* @return array<string, string>
public function getClaims(): array
return $this->claims;