Blueprints/src/BlueprintSchema.php
protected function addProperty($path)
    {
        $parts = explode('.', $path);
        $item = array_pop($parts);

        $nested = &$this->nested;
        foreach ($parts as $part) {
            if (!isset($nested[$part]) || !\is_array($nested[$part])) {
                $nested[$part] = [];
            }

            $nested = &$nested[$part];
        }

        if (!isset($nested[$item])) {
            $nested[$item] = $path;
        }
    }
protected function addProperty($path)
    {
        $parts = explode('.', $path);
        $item = array_pop($parts);

        $nested = &$this->nested;
        foreach ($parts as $part) {
            if (!isset($nested[$part]) || !\is_array($nested[$part])) {
                $nested[$part] = [];
            }

            $nested = &$nested[$part];
        }

        if (!isset($nested[$item])) {
            $nested[$item] = $path;
        }
    }
protected function addProperty ( $ path ) { $ parts = explode ( '.' , $ path ) ; $ item = array_pop ( $ parts ) ; $ nested = & $ this -> nested ; foreach ( $ parts as $ part ) { if ( ! isset ( $ nested [ $ part ] ) || ! \ is_array ( $ nested [ $ part ] ) ) { $ nested [ $ part ] = [ ] ; } $ nested = & $ nested [ $ part ] ; } if ( ! isset ( $ nested [ $ item ] ) ) { $ nested [ $ item ] = $ path ; } }
Add property to the definition.

@param  string  $path  Comma separated path to the property.
@internal
Add property to the definition .