Fixes for examples

This commit is contained in:
Alex Bilbie
2016-03-15 21:54:36 +00:00
parent d635b3484b
commit 5bbf703711
5 changed files with 139 additions and 147 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace OAuth2ServerExamples\Entities;
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
class ScopeEntity implements ScopeEntityInterface
{
use EntityTrait;
function jsonSerialize()
{
return $this->getIdentifier();
}
}