コード例 #1
0
 public function __construct()
 {
     parent::__construct();
     $this->instructors = Instructor::all();
     $this->section_types = SectionType::all();
     $this->terms = ['W15', 'Sp15', 'Su15'];
 }
コード例 #2
0
ファイル: TagSeeder.php プロジェクト: bjrnblm/blender
 /**
  * @param \App\Repositories\TagRepository
  */
 public function __construct(TagRepository $tagRepository)
 {
     parent::__construct();
     $this->tagRepository = $tagRepository;
 }