oauth2-server/tests/Stubs/UserEntity.php

17 lines
302 B
PHP
Raw Permalink Normal View History

2016-02-18 16:17:59 +05:30
<?php
namespace LeagueTests\Stubs;
2016-04-09 20:14:38 +05:30
use League\OAuth2\Server\Entities\Traits\EntityTrait;
2016-04-09 19:55:45 +05:30
use League\OAuth2\Server\Entities\UserEntityInterface;
2016-02-18 16:17:59 +05:30
class UserEntity implements UserEntityInterface
{
2016-04-09 20:14:38 +05:30
use EntityTrait;
public function __construct()
2016-02-18 16:17:59 +05:30
{
2016-04-09 20:14:38 +05:30
$this->setIdentifier(123);
2016-02-18 16:17:59 +05:30
}
2016-02-20 04:39:39 +05:30
}