Skip to content

Commit

Permalink
Moving mappings to the annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptiklemur committed Jan 3, 2014
1 parent 81ab04c commit 39bd038
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
8 changes: 7 additions & 1 deletion src/Uecode/Bundle/ApiKeyBundle/Model/ApiKeyUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@

use FOS\UserBundle\Model\User as BaseUser;
use Doctrine\ORM\Mapping as ORM;

use Symfony\Component\Security\Core\User\UserInterface as BaseUserInterface;
use FOS\UserBundle\Model\UserInterface;
use Symfony\Component\Security\Core\User\AdvancedUserInterface;
use Symfony\Component\Validator\Constraints as Assert;
use Doctrine\ORM\Mapping\MappedSuperclass;

/**
* @MappedSuperclass
*/
class ApiKeyUser extends BaseUser implements UserInterface, AdvancedUserInterface, BaseUserInterface
{
/**
* @ORM\Column(name="api_key", type="string", length=255, nullable=true)
*/
private $apiKey;

public function __construct()
Expand Down

This file was deleted.

0 comments on commit 39bd038

Please sign in to comment.