Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RSS

RSS builder for Laravel 4
RSS builder for Laravel 5

[![Build Status](https://travis-ci.org/thujohn/rss-l4.png?branch=master)](https://travis-ci.org/thujohn/rss-l4)

Expand Down
72 changes: 36 additions & 36 deletions src/Thujohn/Rss/RssServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,44 @@

class RssServiceProvider extends ServiceProvider {

/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;

/**
* Bootstrap the application events.
*
* @return void
*/
public function boot()
{
$this->package('thujohn/rss');
}
/**
* Bootstrap the application events.
*
* @return void
*/
public function boot()
{
// $this->package('thujohn/rss');
}

/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app['rss'] = $this->app->share(function($app)
{
return new Rss;
});
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app->bind('rss', function($app)
{
return new Rss;
});
}

/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return array('rss');
}
/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return array('rss');
}

}