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