Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }