Make docs compatible with CakeSession

This commit is contained in:
Wouter 2018-06-12 10:24:24 +02:00 committed by GitHub
parent 9ef47b49cc
commit 6c86981858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,9 +45,9 @@ class SessionComponent extends Component {
*
* In your controller: $this->Session->write('Controller.sessKey', 'session value');
*
* @param string $name The name of the key your are setting in the session.
* @param string|array $name The name of the key your are setting in the session.
* This should be in a Controller.key format for better organizing
* @param string $value The value you want to store in a session.
* @param string|array $value The value you want to store in a session.
* @return bool Success
* @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::write
*/