diff options
Diffstat (limited to 'CommentStreams/.phan/stubs/DIWikiPage.php')
-rw-r--r-- | CommentStreams/.phan/stubs/DIWikiPage.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/CommentStreams/.phan/stubs/DIWikiPage.php b/CommentStreams/.phan/stubs/DIWikiPage.php new file mode 100644 index 00000000..0966e45b --- /dev/null +++ b/CommentStreams/.phan/stubs/DIWikiPage.php @@ -0,0 +1,35 @@ +<?php + +namespace SMW; + +use SMWDataItem; +use Title; + +class DIWikiPage extends SMWDataItem { + /** + * @var Title + */ + private $title; + + /** + * @param Title $title + */ + public function __construct( Title $title ) { + $this->title = $title; + } + + /** + * @param Title $title + * @return DIWikiPage + */ + public static function newFromTitle( Title $title ) : self { + return new self( $title ); + } + + /** + * @return Title + */ + public function getTitle() { + return $this->title; + } +} |