Skip to content

Commit

Permalink
增加names的get方法,使其拥有更好的扩展
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavle Lee committed Apr 23, 2017
1 parent 4372132 commit 771845d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Hprose/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -1215,4 +1215,11 @@ public function push($topic) {
$this->internalPush($topic, $id, $result);
}
}

/**
* @return array
*/
public function getNames(){
return $this->names;
}
}

0 comments on commit 771845d

Please sign in to comment.