Sylius\Behat\Page\Admin\Customer\ShowPageInterface::getRegistrationDate PHP Method

getRegistrationDate() public method

public getRegistrationDate ( ) : DateTime
return DateTime
    public function getRegistrationDate();

Usage Example

 /**
  * @Given he should be registered since :registrationDate
  */
 public function hisRegistrationDateShouldBe($registrationDate)
 {
     Assert::eq(new \DateTime($registrationDate), $this->showPage->getRegistrationDate(), 'Customer registration date should be "%s", but it is not.');
 }