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
<?php | |
namespace Directory\Foundation; | |
use TestCase as BaseTestCase; | |
class TestCase extends BaseTestCase | |
{ | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit backupGlobals="false" | |
backupStaticAttributes="false" | |
bootstrap="bootstrap/autoload.php" | |
colors="true" | |
convertErrorsToExceptions="true" | |
convertNoticesToExceptions="true" | |
convertWarningsToExceptions="true" | |
processIsolation="false" | |
stopOnFailure="false" |
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
<?php | |
namespace Directory\Domains\Notification\Notifications; | |
use Directory\Foundation\Notification; | |
use Directory\Data\Entities\Citizen\Citizen; | |
class CitizenCreatedNotification extends Notification | |
{ | |
private $citizen; |
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
<?php | |
namespace Directory\Domains\Notification\Jobs; | |
use Event; | |
use Directory\Foundation\AbstractQueueableJob; | |
class NotifyOfficersJob extends AbstractQueueableJob | |
{ | |
private $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
<?php | |
namespace Directory\Foundation; | |
use Illuminate\Http\Request; | |
use Illuminate\Contracts\Bus\SelfHandling; | |
use Illuminate\Foundation\Bus\DispatchesJobs; | |
abstract class Feature implements SelfHandling | |
{ |
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
<?php | |
namespace Directory\Domains\Queue; | |
class DefaultQueue extends AbstractQueue | |
{ | |
protected $name = 'default'; | |
} |
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
<?php | |
namespace Directory\Domains\Queue; | |
abstract class AbstractQueue | |
{ | |
protected $name = ''; | |
public function __toString() | |
{ |
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
<?php | |
namespace Directory\Foundation; | |
use Illuminate\Queue\SerializesModels; | |
use Illuminate\Queue\InteractsWithQueue; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
class AbstractQueueableJob extends AbstractJob implements ShouldQueue | |
{ |
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
<?php | |
namespace Directory\Domains\Citizen\Jobs; | |
use Directory\Foundation\AbstractJob; | |
use Directory\Data\Repositories\CitizenRepository; | |
class RegisterCitizenJob extends AbstractJob | |
{ | |
private $name; |
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
<?php | |
namespace Directory\Domains\Citizen\Jobs; | |
use Illuminate\Http\Request; | |
use Directory\Foundation\AbstractJob; | |
use Directory\Domains\Citizen\Validators\CitizenCreationValidator as Validator; | |
class ValidateCitizenCreationInputJob extends AbstractJob | |
{ |