getName() public method

플러그인의 이름을 조회한다. 이름은 composer에서 사용하는 패키지명과 일치한다.
public getName ( ) : string
return string
 /**
  * @depends testConstruct
  *
  * @param \Xpressengine\Plugin\PluginEntity $entity
  */
 public function testGetters($entity)
 {
     $this->assertEquals('title', $entity->getTitle());
     $this->assertEquals(__DIR__ . '/plugins/plugin_sample', $entity->getPath());
     $this->assertEquals('khongchi plugin.', $entity->getDescription());
     $this->assertCount(6, $entity->getSupport());
     $this->assertEquals('khongchi/plugin_sample', $entity->getName());
     $this->assertEquals(['xpressengine', 'board'], $entity->getKeywords());
     $this->assertEquals('khongchi', $entity->getAuthors()[0]['name']);
     $this->assertEquals('LGPL-2.0', $entity->getLicense());
 }