getItems() public méthode

public getItems ( )
 public function testExcludeFolder()
 {
     $fsDataSource = new FilesystemDataSource(['source_root' => __DIR__ . '/../../fixtures/project/src', 'exclude' => ['about'], 'text_extensions' => $this->textExtensions]);
     $fsDataSource->load();
     $this->assertCount(10, $fsDataSource->getItems());
 }
 public function testExcludeFolder()
 {
     $fsDataSource = new FilesystemDataSource(['source_root' => $this->sourcePath, 'exclude' => ['about'], 'text_extensions' => $this->textExtensions]);
     $fsDataSource->load();
     $this->assertCount(10, $fsDataSource->getItems());
 }
 public function testAvoidRenderizerFilenameExtension()
 {
     $fsDataSource = new FilesystemDataSource(['source_root' => $this->sourcePath, 'text_extensions' => $this->textExtensions, 'avoid_renderizer_extension' => ['mkd']]);
     $fsDataSource->load();
     $items = $fsDataSource->getItems();
     $this->assertCount(13, $items);
     $itemAttributes = $items['posts/2013-08-12-post-example-2.mkd']->getAttributes();
     $this->assertArrayHasKey('avoid_renderizer', $itemAttributes);
     $itemAttributes = $items['posts/books/2013-08-11-best-book.md']->getAttributes();
     $this->assertArrayNotHasKey('avoid_renderizer', $itemAttributes);
 }