public function __construct($data = null, $tasks = null) { parent::__construct($data); $this->tasks = $tasks; }
/** * Constructor. * * @param mixed $data Response data to send to browser. For this class, * this can be the URL to redirect to. If null, will * reload the current URL of the browser. */ public function __construct($data = null) { parent::__construct($data); }