+ return null;
+ }
+
+ /**
+ * Check whether the repo has a stub file to serve
+ * @param string|null $path receives the path if there's a stub
+ * @return bool
+ */
+ public function hasStub(string &$path = null) : bool {
+ $path = $this->getPath($this->getName() . ".stub.php");
+ return is_file($path) && is_readable($path);