Skip to content

Commit

Permalink
Add the class to the ext function through the extender class.
Browse files Browse the repository at this point in the history
  • Loading branch information
7r1n17y committed Jul 9, 2017
1 parent 8a31792 commit 79103cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Manage/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class Cookie extends Extender implements Handler {
private $params = array();
public function __construct(array $options = array()) {
$this->params = session_get_cookie_params();
parent::add_ext(new HelperFunc($options));
}
public function get(string $name = null, $default_return_val = null) {
if (!is_string($name) || is_null($name)) {
Expand Down

0 comments on commit 79103cf

Please sign in to comment.