__construct() public method

Constructor.
public __construct ( )
コード例 #1
0
ファイル: ErrorHandler.php プロジェクト: afosto/api-client
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     if (defined('EDITOR') && EDITOR !== null) {
         $this->setEditor(EDITOR);
     }
 }
コード例 #2
0
 /**
  * Constructor.
  * 
  * @param boolean $enabled [optional] Is the handler enabled? Default: `true`.
  */
 public function __construct($enabled = true)
 {
     $this->enabled = $enabled;
     parent::__construct();
 }