1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-02 10:23:29 +02:00

psr2 fixes

This commit is contained in:
Oliver Vogel
2013-02-15 20:01:53 +01:00
parent 27bbfb0c1b
commit bac53270b0
5 changed files with 193 additions and 191 deletions

View File

@@ -1,46 +1,48 @@
<?php namespace Intervention\Image;
<?php
namespace Intervention\Image;
use Illuminate\Support\ServiceProvider;
class ImageServiceProvider extends ServiceProvider {
class ImageServiceProvider 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('intervention/image');
}
/**
* Bootstrap the application events.
*
* @return void
*/
public function boot()
{
$this->package('intervention/image');
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app['image'] = $this->app->share(function($app) {
return new Image;
});
}
/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return array('image');
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app['image'] = $this->app->share(function($app) {
return new Image;
});
}
/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return array('image');
}
}