Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrieghe committed Apr 22, 2016
1 parent 8badd49 commit e3f009e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 26 deletions.
17 changes: 0 additions & 17 deletions src/EventStore/EventStoreManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,14 @@

namespace Madewithlove\LaravelCqrsEs\EventStore;


use Broadway\EventStore\DBALEventStore;
use Broadway\EventStore\InMemoryEventStore;
use Broadway\Serializer\SerializerInterface;
use Doctrine\DBAL\DriverManager;
use Illuminate\Contracts\Container\Container;
use Illuminate\Support\Manager;

class EventStoreManager extends Manager
{

/**
* @var Container
*/
protected $app;

/**
* EventStoreManager constructor.
* @param Container $app
*/
public function __construct(Container $app)
{
$this->app = $app;
}

/**
* Get the default driver name.
*
Expand Down
9 changes: 1 addition & 8 deletions src/ReadModel/Projector.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
use Broadway\Domain\DomainMessage;
use Broadway\ReadModel\ProjectorInterface;

/**
* Created by PhpStorm.
* User: jonas
* Date: 20/04/16
* Time: 16:24
*/
class Projector implements ProjectorInterface
{
/**
Expand All @@ -26,8 +20,7 @@ public function __construct(MethodNameInflector $methodNameInflector)
{
$this->methodNameInflector = $methodNameInflector;
}



/**
* {@inheritDoc}
*/
Expand Down
1 change: 0 additions & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ public function boot()
__DIR__.'/../database/migrations/' => database_path('migrations')
], 'migrations');
}

}

0 comments on commit e3f009e

Please sign in to comment.