allFixturesDir example

/** * Gets the path to one particular project fixture. * * @param string $project_name * The project name to get the path for. * * @return string * Path to project fixture. */
  public function projectFixtureDir($project_name) {
    $dir = $this->allFixturesDir() . '/' . $project_name;
    if (!is_dir($dir)) {
      throw new \RuntimeException("Requested fixture project {$project_name} that does not exist.");
    }
    return $dir;
  }

  /** * Gets the path to one particular bin path. * * @param string $bin_name * The bin name to get the path for. * * @return string * Path to project fixture. */
Home | Imprint | This part of the site doesn't use cookies.