/** * Set up the class * * @param Simple\Asset\RepositoryInterface $page * * @return void */ public function __construct(RepositoryInterface $asset) { // Call the parent constructor just in case parent::__construct(); // Set up our Model Interface $this->asset = $asset; }
/** * Set up the class * * @param Simple\Blog\Category\RepositoryInterface $category * * @return void */ public function __construct(RepositoryInterface $category) { // Call the parent constructor just in case parent::__construct(); // Set up our Model Interface $this->category = $category; }
/** * Set up the class * * @param Simple\Blog\Post\RepositoryInterface $post * * @return void */ public function __construct(RepositoryInterface $post, CategoryRepositoryInterface $category) { // Call the parent constructor just in case parent::__construct(); $this->post = $post; $this->category = $category; }
/** * Set up the class * * @param Simple\Page\RepositoryInterface $page * * @return void */ public function __construct(RepositoryInterface $page) { // Call the parent constructor just in case parent::__construct(); // Set up our Model Interface $this->page = $page; }
/** * Set up the class * * @param Simple\Faq\RepositoryInterface $faq * * @return void */ public function __construct(RepositoryInterface $faq) { // Call the parent constructor just in case parent::__construct(); $this->faq = $faq; }