WellCommerce\Bundle\ClientBundle\Entity\ClientDetails::setPassword PHP Method

setPassword() public method

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

Usage Example

コード例 #1
0
ファイル: Client.php プロジェクト: wellcommerce/wellcommerce
 /**
  * @inheritDoc
  */
 public function unserialize($serialized)
 {
     list($this->id, $username, $password) = unserialize($serialized);
     if (!$this->clientDetails instanceof ClientDetailsInterface) {
         $this->clientDetails = new ClientDetails();
     }
     $this->clientDetails->setUsername($username);
     $this->clientDetails->setPassword($password);
 }
All Usage Examples Of WellCommerce\Bundle\ClientBundle\Entity\ClientDetails::setPassword