public function __construct($version = 2) { parent::__construct($version); $this->addModel('Image', Image::class); $this->addModel('Comment', Comment::class); $this->addModel('Gallery', Gallery::class); $this->addModel('CustomUser', CustomUser::class); }
public function __construct() { parent::__construct(); $this->addModel("Company", "Rhubarb\\Stem\\Tests\\Fixtures\\Company"); $this->addModel("Category", "Rhubarb\\Stem\\Tests\\Fixtures\\Category"); $this->addModel("CompanyCategory", "Rhubarb\\Stem\\Tests\\Fixtures\\CompanyCategory"); $this->addModel("Example", "Rhubarb\\Stem\\Tests\\Fixtures\\Example"); $this->addModel("UnitTestUser", "Rhubarb\\Stem\\Tests\\Fixtures\\User"); }
public function __construct($version = 0.4) { parent::__construct($version); $this->addModel('Contact', Contact::class); }
public function __construct() { parent::__construct(0.3); $this->addModel("RhubarbLogEntry", RhubarbLogEntry::class); }
public function __construct($version = 0) { parent::__construct($version); $this->addModel("TestModel", __NAMESPACE__ . "\\ModelB"); }
public function __construct() { parent::__construct(); $this->addModel("Communication", Communication::class, 1); $this->addModel("CommunicationItem", CommunicationItem::class, 1); }