Example #1
0
 /**
  * Create or update a project.
  *
  * @param $name
  * @param $path
  * @param $tests_path
  * @return static
  */
 public function createOrUpdateProject($name, $path, $tests_path)
 {
     return Project::updateOrCreate(['name' => $name], ['path' => $path, 'tests_path' => $tests_path]);
 }