/** * Constructor */ public function __construct() { parent::__construct(); if (defined('EDITOR') && EDITOR !== null) { $this->setEditor(EDITOR); } }
/** * Constructor. * * @param boolean $enabled [optional] Is the handler enabled? Default: `true`. */ public function __construct($enabled = true) { $this->enabled = $enabled; parent::__construct(); }