You've already forked grav-plugin-listmonk
Initial commit
This commit is contained in:
8
classes/Exceptions/ListmonkClientException.php
Normal file
8
classes/Exceptions/ListmonkClientException.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Grav\Plugin\Listmonk\Exceptions;
|
||||
|
||||
class ListmonkClientException extends ListmonkException
|
||||
{
|
||||
|
||||
}
|
||||
8
classes/Exceptions/ListmonkException.php
Normal file
8
classes/Exceptions/ListmonkException.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Grav\Plugin\Listmonk\Exceptions;
|
||||
|
||||
class ListmonkException extends \RuntimeException
|
||||
{
|
||||
|
||||
}
|
||||
15
classes/Model/NewsletterStatus.php
Normal file
15
classes/Model/NewsletterStatus.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Grav\Plugin\Listmonk\Model;
|
||||
|
||||
final class NewsletterStatus
|
||||
{
|
||||
public static function getNewsletterStatusList(): array
|
||||
{
|
||||
return [
|
||||
'enabled' => 'Enabled',
|
||||
'disabled' => 'Disabled',
|
||||
'blocklist' => 'Blocklisted',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user