private incrementPositionsOnHigherItems ( ) : void | ||
Результат | void |
private function incrementPositionsOnHigherItems()
{
if ($this->isNotInList()) {
return NULL;
}
$this->listifyList()->where($this->positionColumn(), '<', $this->getListifyPosition())->increment($this->positionColumn());
}