Beispiel #1
0
 /**
  * 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;
 }
Beispiel #2
0
 /**
  * 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;
 }
Beispiel #3
0
 /**
  * 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;
 }
Beispiel #4
0
 /**
  * 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;
 }
Beispiel #5
0
 /**
  * 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;
 }