oauth2-server/tests/Stubs/UserEntity.php

17 lines
302 B
PHP
Raw Normal View History

2016-02-18 10:47:59 +00:00
<?php
namespace LeagueTests\Stubs;
2016-04-09 15:44:38 +01:00
use League\OAuth2\Server\Entities\Traits\EntityTrait;
2016-04-09 15:25:45 +01:00
use League\OAuth2\Server\Entities\UserEntityInterface;
2016-02-18 10:47:59 +00:00
class UserEntity implements UserEntityInterface
{
2016-04-09 15:44:38 +01:00
use EntityTrait;
public function __construct()
2016-02-18 10:47:59 +00:00
{
2016-04-09 15:44:38 +01:00
$this->setIdentifier(123);
2016-02-18 10:47:59 +00:00
}
2016-02-19 18:09:39 -05:00
}