Neos\Flow\ResourceManagement\Storage\PackageStorage::getPublicResourcePaths PHP Method

getPublicResourcePaths() public method

This method is used directly by the FileSystemSymlinkTarget.
public getPublicResourcePaths ( ) : array
return array
    public function getPublicResourcePaths()
    {
        $paths = [];
        $packages = $this->packageManager->getActivePackages();
        foreach ($packages as $packageKey => $package) {
            /** @var PackageInterface $package */
            $publicResourcesPath = Files::concatenatePaths([$package->getResourcesPath(), 'Public']);
            if (is_dir($publicResourcesPath)) {
                $paths[$packageKey] = $publicResourcesPath;
            }
        }
        return $paths;
    }