for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AbterPhp\Admin\Oauth2\Entity;
use League\OAuth2\Server\Entities\ScopeEntityInterface;
class Scope implements ScopeEntityInterface
{
protected string $identifier;
/**
* Scope constructor.
*
* @param string $identifier
*/
public function __construct(string $identifier)
$this->identifier = $identifier;
}
* Get the client's identifier.
* @return string
public function getIdentifier()
return $this->identifier;
public function jsonSerialize()