Added code chunk viewing and inserting possibility

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely Polonkai (W00d5t0ck)
2012-09-05 12:59:21 +02:00
parent bcf6368db2
commit a41ddec070
16 changed files with 399 additions and 20 deletions

View File

@@ -43,14 +43,17 @@ class User implements UserInterface
return $this->name . '(' . $this->username . ')';
}
public function getSalt() {
public function getSalt()
{
return $this->password;
}
public function eraseCredentials() {
public function eraseCredentials()
{
}
public function getRoles() {
public function getRoles()
{
return array('ROLE_ADMIN');
}
@@ -119,6 +122,7 @@ class User implements UserInterface
public function setPassword($password)
{
$this->password = $password;
return $this;
}
@@ -131,4 +135,4 @@ class User implements UserInterface
{
return $this->password;
}
}
}