public static function fromArray(array $displayNames)
    {
        $path = new self();
        foreach ($displayNames as $v) {
            $path->push(new ResourceField(new ResourceDefinition(null), $v));
        }
        return $path;
    }