getEntryNames() public méthode

returns the names of all of the entries in our list
public getEntryNames ( ) : array
Résultat array
 /**
  * @covers DataSift\Storyplayer\ConfigLib\ConfigList::__construct
  * @covers DataSift\Storyplayer\ConfigLib\ConfigList::getEntryNames
  */
 public function testCanGetEntryNames()
 {
     // ----------------------------------------------------------------
     // setup your test
     $obj = new ConfigList("DataSift\\Storyplayer\\ConfigLib\\StoryplayerConfig", __DIR__ . '/ConfigListTestData1');
     $obj->findConfigs();
     $expected = ['config-1', 'config-2'];
     // ----------------------------------------------------------------
     // perform the change
     $actual = $obj->getEntryNames();
     // ----------------------------------------------------------------
     // test the results
     $this->assertSame($expected, $actual);
 }