Lines Matching refs:accumulator
190 protected function _resolve($path, &$accumulator, $id = null) argument
200 if (null === $accumulator) {
201 $accumulator = [];
224 $this->_resolveChoice($this[$next]->reach(), $accumulator);
229 $accumulator = null;
235 $this->_resolveChoice($tnext->reach(), $accumulator);
237 return $tnext->_resolve(substr($path, $pos + 1), $accumulator, $id);
240 $this->_resolveChoice($this->reach($path), $accumulator);
252 protected function _resolveChoice($reach, array &$accumulator) argument
254 if (empty($accumulator)) {
255 $accumulator = explode(RS, $reach);
264 foreach ($accumulator as &$entry) {
269 foreach ($accumulator as &$entry) {
277 $ref = $accumulator;
278 $accumulator = [];
285 $accumulator[] = $choice;
289 $accumulator[] = $entry . $choice;