Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function findByCustomer(CustomerInterface $customer)
 {
     return $this->createByCustomerIdQueryBuilder($customer->getId())->getQuery()->getResult();
 }
Ejemplo n.º 2
0
 /**
  * @When I change the password of user :customer to :newPassword
  */
 public function iChangeThePasswordOfUserTo(CustomerInterface $customer, $newPassword)
 {
     $this->updatePage->open(['id' => $customer->getId()]);
     $this->updatePage->changePassword($newPassword);
     $this->updatePage->saveChanges();
 }