/** * @param string $size * * @When /^I change (?:the) page size to (.*)$/ */ public function iChangePageSize($size) { $this->datagrid->changePageSize((int) $size); $this->wait(); }