forked from laravel-doctrine/orm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added namespace to Notifications tests
- Loading branch information
1 parent
a824ad0
commit a597aeb
Showing
7 changed files
with
71 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace LaravelDoctrineTest\ORM\Assets\Notifications; | ||
|
||
use LaravelDoctrine\ORM\Notifications\Notifiable; | ||
|
||
class CustomNotifiableStub | ||
{ | ||
use Notifiable; | ||
|
||
public function routeNotificationForDoctrine() | ||
{ | ||
return 'custom'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace LaravelDoctrineTest\ORM\Assets\Notifications; | ||
|
||
use LaravelDoctrine\ORM\Notifications\Notifiable; | ||
|
||
class NotifiableStub | ||
{ | ||
use Notifiable; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace LaravelDoctrineTest\ORM\Assets\Notifications; | ||
|
||
class NotificationDatabaseStub extends \Illuminate\Notifications\Notification | ||
{ | ||
public function toDatabase() | ||
{ | ||
return (new \LaravelDoctrine\ORM\Notifications\Notification()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace LaravelDoctrineTest\ORM\Assets\Notifications; | ||
|
||
class NotificationInvalidStub extends \Illuminate\Notifications\Notification | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace LaravelDoctrineTest\ORM\Assets\Notifications; | ||
|
||
class NotificationStub extends \Illuminate\Notifications\Notification | ||
{ | ||
public function toEntity() | ||
{ | ||
return (new \LaravelDoctrine\ORM\Notifications\Notification()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters