1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
namespace Codeception\Step;
use Codeception\Lib\ModuleContainer;
use Codeception\Step as CodeceptionStep;
class Comment extends CodeceptionStep
{
public function __toString()
{
return (string) $this->getAction();
}
public function toString($maxLength)
{
return mb_strcut($this->__toString(), 0, $maxLength, 'utf-8');
}
public function getHtml($highlightColor = '#732E81')
{
return '<strong>' . $this->getAction() . '</strong>';
}
public function getPhpCode($maxLength)
{
return '// ' . $this->getAction();
}
public function run(ModuleContainer $container = null)
{
// don't do anything, let's rest
}
public function getPrefix()
{
return '';
}
}