oauth2-server/tests/Stubs/ScopeEntity.php

17 lines
322 B
PHP
Raw Normal View History

2015-04-05 18:33:25 +05:30
<?php
2016-02-20 04:39:39 +05:30
2016-03-15 05:40:47 +05:30
namespace LeagueTests\Stubs;
2015-04-05 18:33:25 +05:30
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
class ScopeEntity implements ScopeEntityInterface
{
use EntityTrait;
2016-01-13 04:29:33 +05:30
public function jsonSerialize()
2016-01-13 04:29:33 +05:30
{
return $this->getIdentifier();
}
2015-04-05 18:33:25 +05:30
}