public function __construct(array $locations, $path) { $this->locations = $locations; $this->path = $path; }