oauth2-server/tests/Stubs/ScopeEntity.php
2016-03-15 01:10:47 +01:00

17 lines
322 B
PHP

<?php
namespace LeagueTests\Stubs;
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
class ScopeEntity implements ScopeEntityInterface
{
use EntityTrait;
public function jsonSerialize()
{
return $this->getIdentifier();
}
}