/var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/TestSuite
NameSizeModeActions
Constraint/-0755rm
Fixture/-0755rm
Stub/-0755rm
ConsoleIntegrationTestCase.php9000644editdlrm
ConsoleIntegrationTestTrait.php109800644editdlrm
EmailTrait.php76700644editdlrm
IntegrationTestCase.php13550644editdlrm
IntegrationTestTrait.php444980644editdlrm
LegacyCommandRunner.php11530644editdlrm
LegacyShellDispatcher.php18390644editdlrm
MiddlewareDispatcher.php57970644editdlrm
StringCompareTrait.php19310644editdlrm
TestCase.php323960644editdlrm
TestEmailTransport.php22830644editdlrm
TestListenerTrait.php20830644editdlrm
TestSession.php21520644editdlrm
TestSuite.php20890644editdlrm
Edit: /var/www/vhosts/ihelp.ro/_OLD/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); } }