Example #1
0
 /**
  * Construct
  * @param Database                              $db
  * @param FormAttributeRepository               $form_attribute_repo
  * @param FormStageRepository                   $form_stage_repo
  * @param Ushahidi_Repository_Post_ValueFactory  $post_value_factory
  * @param Aura\DI\InstanceFactory               $bounding_box_factory
  */
 public function __construct(Database $db, FormAttributeRepository $form_attribute_repo, FormStageRepository $form_stage_repo, Ushahidi_Repository_Post_ValueFactory $post_value_factory, InstanceFactory $bounding_box_factory, UpdatePostTagRepository $tag_repo)
 {
     parent::__construct($db);
     $this->form_attribute_repo = $form_attribute_repo;
     $this->form_stage_repo = $form_stage_repo;
     $this->post_value_factory = $post_value_factory;
     $this->bounding_box_factory = $bounding_box_factory;
     $this->tag_repo = $tag_repo;
 }
Example #2
0
 public function __construct(Database $db, Uploader $upload)
 {
     parent::__construct($db);
     $this->upload = $upload;
 }