src/Listify.php
protected function addToListBottom()
    {
        if ($this->isInList()) return;

        $newPosition = $this->getBottomPositionValue();

        if (null === $newPosition) {
            $newPosition = $this->listifyTop();
        } else {
            $newPosition += 1;
        }

        $this->setListifyPosition($newPosition);
    }
protected function addToListBottom()
    {
        if ($this->isInList()) return;

        $newPosition = $this->getBottomPositionValue();

        if (null === $newPosition) {
            $newPosition = $this->listifyTop();
        } else {
            $newPosition += 1;
        }

        $this->setListifyPosition($newPosition);
    }
protected function addToListBottom ( ) { if ( $ this -> isInList ( ) ) return ; $ newPosition = $ this -> getBottomPositionValue ( ) ; if ( null === $ newPosition ) { $ newPosition = $ this -> listifyTop ( ) ; } else { $ newPosition += 1 ; } $ this -> setListifyPosition ( $ newPosition ) ; }
Adds record to the bottom of the list.
Note that this does not save the model.
Adds record to the bottom of the list . Note that this does not save the model .