projects
/
mdref
/
mdref
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix types
[mdref/mdref]
/
mdref
/
Repo.php
diff --git
a/mdref/Repo.php
b/mdref/Repo.php
index 8f4b830295a138f87d50222bc2bb27b7e6ddf59f..4b291ab6579020923cdb1e305dc66cbeb1716d5d 100644
(file)
--- a/
mdref/Repo.php
+++ b/
mdref/Repo.php
@@
-111,6
+111,11
@@
class Repo implements \IteratorAggregate {
}
}
+ public function hasStub(&$path = null) {
+ $path = $this->getPath($this->getName() . ".stub.php");
+ return is_file($path) && is_readable($path);
+ }
+
/**
* Get an Entry instance
* @param string $entry