| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- /**
- * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
- * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
- *
- * Licensed under The MIT License
- * Redistributions of files must retain the above copyright notice.
- *
- * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
- * @link http://cakephp.org CakePHP(tm) Project
- * @since 3.0.0
- * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
- */
- namespace TestApp\Controller;
- use Cake\Controller\Controller;
- /**
- * SessionTestController class
- *
- */
- class SessionTestController extends Controller {
- /**
- * uses property
- *
- * @var array
- */
- public $uses = array();
- /**
- * session_id method
- *
- * @return void
- */
- public function session_id() {
- $this->response->body($this->Session->id());
- }
- }
|