Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Forgotpassword.php
Go to the documentation of this file.
1 <?php
7 
10 
18 {
22  protected $customerUrl;
23 
29  public function __construct(
30  Template\Context $context,
32  array $data = []
33  ) {
34  $this->customerUrl = $customerUrl;
35  parent::__construct($context, $data);
36  }
37 
43  public function getLoginUrl()
44  {
45  return $this->customerUrl->getLoginUrl();
46  }
47 }
__construct(Template\Context $context, Url $customerUrl, array $data=[])