/var/www/vhosts/nabawater/vendor/codeception/base/src/Codeception/Lib/Generator
NameSizeModeActions
Shared/-0775rm
Actions.php62350664editdlrm
Actor.php54970664editdlrm
Cept.php9930664editdlrm
Cest.php15430664editdlrm
Feature.php4810664editdlrm
GherkinSnippets.php48030664editdlrm
Group.php16020664editdlrm
Helper.php9790664editdlrm
PageObject.php23010664editdlrm
Snapshot.php17940664editdlrm
StepObject.php17000664editdlrm
Test.php16100664editdlrm
Edit: /var/www/vhosts/nabawater/vendor/codeception/base/src/Codeception/Lib/Generator/Cest.php (1543B)
name = $this->removeSuffix($className, 'Cest'); $this->settings = $settings; } public function produce() { $actor = $this->settings['actor']; if (!$actor) { throw new ConfigurationException("Cept can't be created for suite without an actor. Add `actor: SomeTester` to suite config"); } if (array_key_exists('suite_namespace', $this->settings)) { $namespace = rtrim($this->settings['suite_namespace'], '\\'); } else { $namespace = rtrim($this->settings['namespace'], '\\'); } $ns = $this->getNamespaceHeader($namespace.'\\'.$this->name); if ($namespace) { $ns .= "use ".$this->settings['namespace'].'\\'.$actor.";"; } return (new Template($this->template)) ->place('name', $this->getShortClassName($this->name)) ->place('namespace', $ns) ->place('actor', $actor) ->produce(); } }