for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace OAuth;
use Del\Entity\User as BaseUser;
use Doctrine\ORM\Mapping as ORM;
use League\OAuth2\Server\Entities\UserEntityInterface;
/**
* @ORM\Entity(repositoryClass="OAuth\Repository\UserRepository")
*/
class OAuthUser extends BaseUser implements UserEntityInterface
{
* @return int
public function getIdentifier()
return $this->getId();
}