oauth2-server/tests/Stubs/ScopeEntity.php

17 lines
322 B
PHP
Raw Normal View History

2015-04-05 14:03:25 +01:00
<?php
2016-02-19 18:09:39 -05:00
2016-03-15 01:10:47 +01:00
namespace LeagueTests\Stubs;
2015-04-05 14:03:25 +01:00
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
class ScopeEntity implements ScopeEntityInterface
{
use EntityTrait;
2016-01-12 22:59:33 +00:00
public function jsonSerialize()
2016-01-12 22:59:33 +00:00
{
return $this->getIdentifier();
}
2015-04-05 14:03:25 +01:00
}