Changes
Title
unchanged
Integrating ZF2 into Yii - use case demonstrated
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
ZF2, Zend Framework, 3rd party
Content
unchanged
[...]
$reader = Zend\Feed\Reader\Reader::import('http://example.com/path/to/feed.xml');
```
That's it!
Now $reader contains a Reader object and also along the way other ZF2 classes where instantiated (this was verified in il-attempts to get it working which resulted in PHP errors about ZF2 classes not found...).