src/watoki/collections/Liste.php
public function unshift($element) {
        $this->insert($element, 0);
        $this->fire(new ListCreateEvent($element, 0));
        return $this;
    }
public function unshift($element) {
        $this->insert($element, 0);
        $this->fire(new ListCreateEvent($element, 0));
        return $this;
    }
public function unshift ( $ element ) { $ this -> insert ( $ element , 0 ) ; $ this -> fire ( new ListCreateEvent ( $ element , 0 ) ) ; return $ this ; }
Inserts the given element to the beginning of the list.

@param mixed $element
@return static
Inserts the given element to the beginning of the list .