public function getAllPaths()
    {
        $paths = [];

        foreach ($this as $endpoint) {
            foreach ($endpoint->getPaths() as $path) {
                $paths[] = $path;
            }
        }

        return $paths;
    }
public function getAllPaths()
    {
        $paths = [];

        foreach ($this as $endpoint) {
            foreach ($endpoint->getPaths() as $path) {
                $paths[] = $path;
            }
        }

        return $paths;
    }
public function getAllPaths ( ) { $ paths = [ ] ; foreach ( $ this as $ endpoint ) { foreach ( $ endpoint -> getPaths ( ) as $ path ) { $ paths [ ] = $ path ; } } return $ paths ; }
Get all of the paths for the given endpoint collection.

@return array
Get all of the paths for the given endpoint collection .