Support the ongoing development of Laravel.io →
Requests Input Laravel.io
Last updated 2 years ago.
0

You must prefix the class name with the global namespace prefix ''

Your new class be like :

class RSSController extends Controller

{

public function logger()

{

$rss = new \DOMDocument();

$rss->load('http://www.domain.com/feed.rss');

}

}

Last updated 7 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Sharping sharping Joined 28 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.