getFilesystemPaths() public méthode

The method {@link load()} needs to be called before calling this method, otherwise an exception is thrown.
public getFilesystemPaths ( ) : string[]
Résultat string[] The absolute filesystem paths.
Exemple #1
0
 public function testLoadStoresErrorIfPackageNotFound()
 {
     $mapping = new PathMapping('/path', array('@foo:resources', 'assets'));
     $mapping->load($this->package1, $this->packages);
     $this->assertSame(array('@foo:resources', 'assets'), $mapping->getPathReferences());
     $this->assertSame(array($this->packageDir1 . '/assets'), $mapping->getFilesystemPaths());
     // there's at least one found path, so the mapping is still enabled
     $this->assertTrue($mapping->isEnabled());
     $loadErrors = $mapping->getLoadErrors();
     $this->assertCount(1, $loadErrors);
     $this->assertInstanceOf('Puli\\Manager\\Api\\Package\\NoSuchPackageException', $loadErrors[0]);
 }