Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Exception.php
Go to the documentation of this file.
1 <?php
26 #require_once 'Zend/Locale/Exception.php';
27 
28 
36 {
37  protected $op1 = null;
38  protected $op2 = null;
39  protected $result = null;
40 
41  public function __construct($message, $op1 = null, $op2 = null, $result = null)
42  {
43  $this->op1 = $op1;
44  $this->op2 = $op2;
45  $this->result = $result;
46  parent::__construct($message);
47  }
48 
49  public function getResults()
50  {
51  return array($this->op1, $this->op2, $this->result);
52  }
53 }
$message
__construct($message, $op1=null, $op2=null, $result=null)
Definition: Exception.php:41