public function __construct()
{
$this->isActive = true;
- $this->salt = md5(uniqid(null, true));
- $this->entries = new ArrayCollection();
- $this->tags = new ArrayCollection();
+ $this->salt = md5(uniqid(null, true));
+ $this->entries = new ArrayCollection();
+ $this->tags = new ArrayCollection();
}
/**
}
/**
- * @inheritDoc
+ * {@inheritdoc}
*/
public function getSalt()
{
}
/**
- * @inheritDoc
+ * {@inheritdoc}
*/
public function getRoles()
{
return $this->tags;
}
/**
- * @inheritDoc
+ * {@inheritdoc}
*/
public function eraseCredentials()
{