/** * @param string $filterName * * @Then /^I hide the filter "([^"]*)"$/ * @Then /^I collapse the "([^"]*)" sidebar$/ */ public function iHideTheFilter($filterName) { $this->datagrid->hideFilter($filterName); }
/** * @param string $filterName * * @Then /^I hide the filter "([^"]*)"$/ */ public function iHideTheFilter($filterName) { if (false === strpos(strtolower($filterName), 'category')) { $this->datagrid->hideFilter($filterName); } }
/** * @param string $filterName * * @Then /^I hide the filter "([^"]*)"$/ */ public function iHideTheFilter($filterName) { if (strtolower($filterName) !== 'category') { $this->datagrid->hideFilter($filterName); } }