/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/TestSuite
NameSizeModeActions
Constraint/-0755rm
Fixture/-0755rm
Stub/-0755rm
ConnectionHelper.php60260644editdlrm
ConsoleIntegrationTestCase.php9610644editdlrm
ConsoleIntegrationTestTrait.php1840644editdlrm
ContainerStubTrait.php1540644editdlrm
EmailTrait.php85150644editdlrm
HttpClientTrait.php1450644editdlrm
IntegrationTestCase.php13550644editdlrm
IntegrationTestTrait.php467520644editdlrm
LegacyCommandRunner.php1600644editdlrm
LegacyShellDispatcher.php1660644editdlrm
MiddlewareDispatcher.php42240644editdlrm
StringCompareTrait.php19710644editdlrm
TestCase.php380200644editdlrm
TestEmailTransport.php22670644editdlrm
TestListenerTrait.php20830644editdlrm
TestSession.php21520644editdlrm
TestSuite.php20890644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/TestSuite/TestSession.php (2152B)
session = $session; } /** * Returns true if given variable name is set in session. * * @param string|null $name Variable name to check for * @return bool True if variable is there */ public function check(?string $name = null): bool { if ($this->session === null) { return false; } if ($name === null) { return (bool)$this->session; } return Hash::get($this->session, $name) !== null; } /** * Returns given session variable, or all of them, if no parameters given. * * @param string|null $name The name of the session variable (or a path as sent to Hash.extract) * @return mixed The value of the session variable, null if session not available, * session not started, or provided name not found in the session. */ public function read(?string $name = null) { if ($this->session === null) { return null; } if ($name === null) { return $this->session ?: []; } return Hash::get($this->session, $name); } }