at 2009-12-17
in Announcements
by friebe
(0 comments)
In the spirit of adding fluent interface usage to the XP Framework, we added two new method to the xml.parser.XMLParser class - withCallback() and withEncoding() - complementing the setCallback() and setEncoding() methods. This way, you can rewrite your source as follows:
<?php $p= new XMLParser(); $p->setCallback($this); $p->parse(...); create(new XMLParser())->withCallback($this)->parse(...); ?>
|
Subscribe
You can subscribe to the XP framework's news by using RSS syndication.
CategoriesNews General PHP5 Announcements RFCs Further reading Examples Editorial EASC Experiments Unittests Databases 5.8-SERIES
RelatedFind related articles by a search for «New».
|