Skip to content

Commit

Permalink
[fix] namespaces and composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoel Monzon committed Aug 25, 2015
1 parent 2d23cf4 commit 1cd0c25
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 25 deletions.
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions src/Repository.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace Yoelfme\PatternRepository;
namespace Yoelfme\Repository;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
use Illuminate\Foundation\Application;

/**
* This is a class for implements a pattern repository in models Eloquent in Laravel
* @package Yoelfme\PatternRepository
* @package Yoelfme\Repository
*/
abstract class Repository implements RepositoryInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/RepositoryInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Yoelfme\PatternRepository;
namespace Yoelfme\Repository;

interface RepositoryInterface
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Yoelfme\PatternRepository;
namespace Yoelfme\Repository;

use Illuminate\Support\ServiceProvider as BaseServiceProvider;

class PatternRepositoryServiceProvider extends BaseServiceProvider
class RepositoryServiceProvider extends BaseServiceProvider
{
/**
* Bootstrap the application services.
Expand All @@ -23,7 +23,7 @@ public function boot()
*/
public function register()
{
$this->app->bind('Yoelfme\PatternRepository\Repository', function($app){
$this->app->bind('Yoelfme\Repository\Repository', function($app){
return new Repository($app);
});
}
Expand Down

0 comments on commit 1cd0c25

Please sign in to comment.