Skip to content

Commit

Permalink
abstracted Events so we can use multiple mail-webhook-services in the…
Browse files Browse the repository at this point in the history
… future - fixed abstract,public,namespace issues
  • Loading branch information
dbr0 committed Sep 12, 2018
1 parent 1743f71 commit 3197617
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Events/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
use Dmcbrn\LaravelEmailDatabaseLog\EmailLog;
use Dmcbrn\LaravelEmailDatabaseLog\Events\Interface\EventInterface;

class Event implements EventInterface
abstract class Event implements EventInterface
{
private function getEmail($messageId)
public function getEmail($messageId)
{
return EmailLog::select('id', 'messageId')
->where('messageId', $messageId)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Dmcbrn\LaravelEmailDatabaseLog\Events\Interface;
namespace Dmcbrn\LaravelEmailDatabaseLog\Events\Interfaces;

use Illuminate\Http\Request;

Expand Down

0 comments on commit 3197617

Please sign in to comment.