| 1 | <?php |
||
| 9 | class WaitAction implements WebDriverAction |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var int $timeout_in_second |
||
| 14 | */ |
||
| 15 | private $timeout_in_second; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param integer $timeout_in_second |
||
| 19 | */ |
||
| 20 | function __construct($timeout_in_second) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | public function perform() |
||
| 32 | } |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.