First fake subscriber model to show namespacing and autoloading.
This commit is contained in:
11
lib/models/subscriber.php
Normal file
11
lib/models/subscriber.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace MailPoet\Models;
|
||||
if (!defined('ABSPATH')) exit;
|
||||
|
||||
class Subscriber {
|
||||
|
||||
public $name;
|
||||
|
||||
public function __construct () {
|
||||
$this->name = 'First Subscriber';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user