AppBundle\Entity\User::setPassword PHP Метод

setPassword() публичный Метод

public setPassword ( $password )
    public function setPassword($password)
    {
        $this->password = $password;
    }

Usage Example

Пример #1
0
 public function setUp()
 {
     $this->user = new User();
     $this->user->setUsername('test');
     $this->user->setEmail('*****@*****.**');
     $this->user->setPassword('test');
     $this->log = new StressLog();
     $this->log->setLocaltime(new \DateTime());
     $this->log->setLevel(6);
     $this->log->setUser($this->user);
 }
All Usage Examples Of AppBundle\Entity\User::setPassword