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\EntityCode
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;
}