File manager - Edit - /usr/local/prospamfilter/vendor/codeception/codeception/src/Codeception/Lib/Actor/Shared/Friend.php
Back
<?php namespace Codeception\Lib\Actor\Shared; use Codeception\Lib\Friend as LibFriend; use Codeception\Scenario; trait Friend { protected $friends = []; /** * @return Scenario */ abstract protected function getScenario(); /** * @param $name * @param $actorClass * @return \Codeception\Lib\Friend */ public function haveFriend($name, $actorClass = null) { if (!isset($this->friends[$name])) { $actor = $actorClass === null ? $this : new $actorClass($this->getScenario()); $this->friends[$name] = new LibFriend($name, $actor, $this->getScenario()->current('modules')); } return $this->friends[$name]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings