api/laravel/Database/Concerns/CompilesJsonPaths.yaml

50 lines
915 B
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: CompilesJsonPaths
class_comment: null
dependencies:
- name: Str
type: class
source: Illuminate\Support\Str
properties: []
methods:
- name: wrapJsonFieldAndPath
visibility: protected
parameters:
- name: column
comment: '# * Split the given JSON selector into the field and the optional path
and wrap them separately.
# *
# * @param string $column
# * @return array'
- name: wrapJsonPath
visibility: protected
parameters:
- name: value
- name: delimiter
default: '''->'''
comment: '# * Wrap the given JSON path.
# *
# * @param string $value
# * @param string $delimiter
# * @return string'
- name: wrapJsonPathSegment
visibility: protected
parameters:
- name: segment
comment: '# * Wrap the given JSON path segment.
# *
# * @param string $segment
# * @return string'
traits:
- Illuminate\Support\Str
interfaces: []