Many way u can use For example $item->pop(); (I don't really sure, from SonSaYT) Or u should have a look at the source code