for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SmartWeb\ModuleTesting\Codeception\SmartWeb;
use SmartWeb\ModuleTesting\Codeception\StringCollection;
use SmartWeb\ModuleTesting\Codeception\SuiteInfoInterface;
/**
* Class SuiteInfo
*
* @package SmartWeb\ModuleTesting\Codeception
*/
class SuiteInfo implements SuiteInfoInterface
{
* @var string
protected $name;
protected $actor;
* @var StringCollection
protected $modules;
* SuiteInfo constructor.
* @param string $name
* @param string $actor
* @param string[]|StringCollection $modules
public function __construct(string $name, string $actor = self::ACTOR_SUFFIX, $modules = [])
$this->name = $name;
$this->actor = ($actor == self::ACTOR_SUFFIX)
? $name . self::ACTOR_SUFFIX
: $actor;
$this->modules = new StringCollection($modules);
}
* @return string
public function getName() : string
return $this->name;
public function getActor() : string
return $this->actor;
* @return StringCollection
public function getModules() : StringCollection
return clone $this->modules;