Laracasts\Behat\Context\KernelAwareContext::getSession PHP Method

getSession() public method

Returns the specified session or active session
public getSession ( string | null $name = null ) : mixed
$name string | null name of the session
return mixed
    public function getSession($name = null);
KernelAwareContext