Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
UrlAlreadyExistsException.php
Go to the documentation of this file.
1 <?php
7 
9 
17 {
21  private $urls = [];
22 
29  public function __construct(Phrase $phrase = null, \Exception $cause = null, $code = 0, array $urls = [])
30  {
31  $this->urls = $urls;
32  if ($phrase === null) {
33  $phrase = __('URL key for specified store already exists');
34  }
35  parent::__construct($phrase, $cause, $code);
36  }
37 
44  public function getUrls()
45  {
46  return $this->urls;
47  }
48 }
__construct(Phrase $phrase=null, \Exception $cause=null, $code=0, array $urls=[])
__()
Definition: __.php:13
$code
Definition: info.phtml:12