/** * @param string $selector * @param string $html */ public function __construct($selector, $html = null) { parent::__construct(); $this->selector = $selector; $this->html = $html; }
public function __construct($action, array $data = array()) { parent::__construct(); $this->action = $action; $this->data = $data; }