| 1 | <?php |
||
| 6 | class Select2 |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var \AcceptanceTester |
||
| 10 | */ |
||
| 11 | protected $tester; |
||
| 12 | |||
| 13 | function __construct(\AcceptanceTester $I) |
||
| 17 | |||
| 18 | public function open($selector) |
||
| 25 | |||
| 26 | public function seeIsOpened() |
||
| 32 | |||
| 33 | public function seeIsClosed() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param $optionName |
||
| 42 | * @return $this |
||
| 43 | */ |
||
| 44 | public function chooseOption($optionName) |
||
| 52 | |||
| 53 | protected function getSelect2Selector($selector) |
||
| 57 | |||
| 58 | protected function getSelect2OptionSelector() |
||
| 62 | } |
||
| 63 |
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.