Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. JsonPointer.php

function JsonPointer::decodePropertyPaths

Parameters

string $propertyPathString:

Return value

string[]

1 call to JsonPointer::decodePropertyPaths()
JsonPointer::__construct in vendor/justinrainbow/json-schema/src/JsonSchema/Entity/JsonPointer.php

File

vendor/justinrainbow/json-schema/src/JsonSchema/Entity/JsonPointer.php, line 55

Class

JsonPointer
@package JsonSchema\Entity

Namespace

JsonSchema\Entity

Code

private function decodePropertyPaths($propertyPathString) {
    $paths = array();
    foreach (explode('/', trim($propertyPathString, '/')) as $path) {
        $path = $this->decodePath($path);
        if (is_string($path) && '' !== $path) {
            $paths[] = $path;
        }
    }
    return $paths;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal