Exemplo n.º 1
0
 public function android()
 {
     $build_type = BuildType::find(self::BUILD_ANDROID_TYPE_ID);
     $this->layout->labels = $build_type->labels;
     $this->layout->ios_page = false;
     $this->layout->build_type = $build_type->slug;
 }
Exemplo n.º 2
0
 public function run()
 {
     $build_1 = BuildType::create(array('type_name' => 'Android', "slug" => "android"));
     $build_2 = BuildType::create(array('type_name' => 'iOS', "slug" => "ios"));
 }