Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Session.php

function Session::start

Same name in this branch
  1. 11.1.x vendor/symfony/http-foundation/Session/Session.php \Symfony\Component\HttpFoundation\Session\Session::start()

Starts session driver.

Calling any action before visiting a page is an undefined behavior. The only supported method calls on a fresh driver are

  • visit()
  • setRequestHeader()
  • setBasicAuth()
  • reset()
  • stop()

Return value

void

1 call to Session::start()
Session::visit in vendor/behat/mink/src/Session.php
Visit specified URL and automatically start session if not already running.

File

vendor/behat/mink/src/Session.php, line 75

Class

Session
Mink session.

Namespace

Behat\Mink

Code

public function start() {
    $this->driver
        ->start();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal