think\Session::start PHP Method

start() public static method

启动session
public static start ( ) : void
return void
    public static function start()
    {
        session_start();
        self::$init = true;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @covers think\Session::start
  *
  * @todo Implement testStart().
  */
 public function testStart()
 {
     \think\Session::start();
 }
All Usage Examples Of think\Session::start