user = $user; } public function getRoles() { $roles = $this->getPropelUser()->getRoles(); } public function getPassword() { return $this->getPropelUser()->getPassword(); } public function getSalt() { return $this->getPropelUser()->getSalt(); } public function getUsername() { return $this->getPropelUser()->getUsername(); } public function eraseCredentials() { } public function equals(UserInterface $user) { return $this->getPropelUser()->equals($user); } public function getAlgorithm() { return $this->getPropelUser()->getAlgorithm(); } public function __call($method, $arguments) { if (is_callable(array($this->user, $method))) { return call_user_func_array(array($this->user, $method), $arguments); } throw new \BadMethodCallException('Can\'t call method '.$method); } public function getPropelUser() { return $this->user; } }