src/watoki/collections/Liste.php
public function shift() {
        $e = array_shift($this->elements);
        $this->clean();
        $this->fire(new ListDeleteEvent($e, 0));
        return $e;
    }
public function shift() {
        $e = array_shift($this->elements);
        $this->clean();
        $this->fire(new ListDeleteEvent($e, 0));
        return $e;
    }
public function shift ( ) { $ e = array_shift ( $ this -> elements ) ; $ this -> clean ( ) ; $ this -> fire ( new ListDeleteEvent ( $ e , 0 ) ) ; return $ e ; }
Removes and returns the first element of the list.

@return mixed
Removes and returns the first element of the list .