Puli\Manager\Api\Repository\PathMapping::getPathReferences PHP Method

getPathReferences() public method

The path references refer to filesystem paths. A path reference is either: * a path relative to the root directory of the containing module; * a path relative to the root directory of another module, prefixed with @vendor/module:, where "vendor/module" is the name of the referenced module.
public getPathReferences ( ) : string[]
return string[] The path references.
    public function getPathReferences()
    {
        return $this->pathReferences;
    }

Usage Example

Beispiel #1
0
 private function mappingsEqual(PathMapping $mapping1, PathMapping $mapping2)
 {
     return $mapping1->getRepositoryPath() === $mapping2->getRepositoryPath() && $mapping1->getPathReferences() === $mapping2->getPathReferences();
 }
All Usage Examples Of Puli\Manager\Api\Repository\PathMapping::getPathReferences