Yosymfony\Spress\Core\DataSource\Filesystem\FilesystemDataSource::getItems PHP Method

getItems() public method

public getItems ( )
    public function getItems()
    {
        return $this->items;
    }

Usage Example

 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());
 }
All Usage Examples Of Yosymfony\Spress\Core\DataSource\Filesystem\FilesystemDataSource::getItems