Segment::factory()
Parses a segment into the property/method name and its arguments
Parameters
Name | Type | Default | Description |
---|---|---|---|
$segment * | string |
– | |
$position | int |
0 |
String position of the segment inside the full query |