First fake subscriber model to show namespacing and autoloading.

This commit is contained in:
marco
2015-07-13 22:47:44 +02:00
parent bc1317fcd5
commit f2f6e1518b
3 changed files with 18 additions and 2 deletions

11
lib/models/subscriber.php Normal file
View File

@@ -0,0 +1,11 @@
<?php namespace MailPoet\Models;
if (!defined('ABSPATH')) exit;
class Subscriber {
public $name;
public function __construct () {
$this->name = 'First Subscriber';
}
}