Rules

Folder Structure

Code Samples

CreateAndValidateAddress with third party Job:

<?phpnamespaceApp\Containers\Shipment\Jobs;useApp\Port\Job\Abstracts\Job;classCreateAndValidateAddressJobextendsJob{private$recipients;publicfunction__construct(array$recipients){$this->recipients=$recipients;}publicfunctionhandle(){foreach($this->recipientsas$recipient){// do whatever you like
}}}