/** * * @param number $minimum * @param number $maximum */ public function __construct($minimum, $maximum) { Args::isNumeric($maximum, 'maximum'); Args::isNumeric($minimum, 'minimum'); $this->minimum = $minimum; $this->maximum = $maximum; }
public function __construct($id, Pageable $pageable, $page) { parent::__construct($id, function () { }); Args::isNumeric($page, 'page'); $this->pageable = $pageable; $this->page = $page; }
public function setWidth($width) { Args::isNumeric($width, 'width'); $this->getOptions()->add(new NumbericOption('width', $width)); }
public function __construct($name, $value) { parent::__construct($name, $value); Args::isNumeric($value, 'value'); $this->value = $value; }
public function setWidth($width) { Args::isNumeric($width, 'width'); $this->dialog->setWidth($width); }
public function setCurrentPage($page) { Args::isNumeric($page, 'page'); $this->currentPage = $page; }
public function setRowsPerPage($rowsPerPage) { Args::isNumeric($rows, 'rowsPerPage'); $this->gridView->setRowsPerPage($rowsPerPage); }