protected function getProtoContent($name) { $basepath = __DIR__ . '/Resources'; $content = file_get_contents($basepath . '/' . $name); return $content; }