src/ORM/Map.php
public function unshift($key, $value)
    {
        $oldItems = $this->firstItems;
        $this->firstItems = array(
            $key => $value
        );

        if ($oldItems) {
            $this->firstItems = $this->firstItems + $oldItems;
        }

        return $this;
    }
public function unshift($key, $value)
    {
        $oldItems = $this->firstItems;
        $this->firstItems = array(
            $key => $value
        );

        if ($oldItems) {
            $this->firstItems = $this->firstItems + $oldItems;
        }

        return $this;
    }
public function unshift ( $ key , $ value ) { $ oldItems = $ this -> firstItems ; $ this -> firstItems = array ( $ key => $ value ) ; if ( $ oldItems ) { $ this -> firstItems = $ this -> firstItems + $ oldItems ; } return $ this ; }
Unshift an item onto the start of the map.

Stores the value in addition to the {@link DataQuery} for the map.

@var string $key
@var mixed $value
@return $this
Unshift an item onto the start of the map .