public static function create($pathJson) { $mapJson = new MapJson(); $mapJson->setPathJson($pathJson); return $mapJson; }