__set($key, $value)
Parameters: |
|
---|---|
Returns: |
void |
A magic method that allows you to assign items to $_SESSION
by accessing them as $this->session
properties:
$this->session->foo = 'bar'; // Results in: // $_SESSION['foo'] = 'bar';
__set($key, $value)
Parameters: |
|
---|---|
Returns: |
void |
A magic method that allows you to assign items to $_SESSION
by accessing them as $this->session
properties:
$this->session->foo = 'bar'; // Results in: // $_SESSION['foo'] = 'bar';
Please login to continue.