name() 공개 메소드

Example: echo $topic->name();
public name ( ) : string
리턴 string
예제 #1
0
 public function testName()
 {
     $topic = new Topic($this->connection->reveal(), 'test-topic-name', 'my-project');
     $this->assertEquals($topic->name(), 'projects/my-project/topics/test-topic-name');
 }