src/Parser/Descriptor.php
public function getServedUrls($path)
    {
        $isServedAs = [];

        foreach ($this->paths as $exposedPath => $exposedDirectory) {
            $relative = $this->getRelative($path, $exposedDirectory);
            if (!is_null($relative)) {
                $isServedAs[] = $this->getHost().preg_replace(',/$,', '', $exposedPath).$relative;
            }
        }

        return $isServedAs;
    }
public function getServedUrls($path)
    {
        $isServedAs = [];

        foreach ($this->paths as $exposedPath => $exposedDirectory) {
            $relative = $this->getRelative($path, $exposedDirectory);
            if (!is_null($relative)) {
                $isServedAs[] = $this->getHost().preg_replace(',/$,', '', $exposedPath).$relative;
            }
        }

        return $isServedAs;
    }
public function getServedUrls ( $ path ) { $ isServedAs = [ ] ; foreach ( $ this -> paths as $ exposedPath => $ exposedDirectory ) { $ relative = $ this -> getRelative ( $ path , $ exposedDirectory ) ; if ( ! is_null ( $ relative ) ) { $ isServedAs [ ] = $ this -> getHost ( ) . preg_replace ( ',/$,' , '' , $ exposedPath ) . $ relative ; } } return $ isServedAs ; }
Gets the served urls.

@param string $path The path

@return array The served urls
Gets the served urls .