Lines Matching refs:direction
18 public static function getDefaultMethod(int $direction, string $type, string $format): string argument
24 switch ($direction) {
32 … does not exist; see GraphNavigatorInterface::DIRECTION_??? constants.', json_encode($direction)));
53 foreach ($directions as $direction) {
54 …$method = $methodData['method'] ?? self::getDefaultMethod($direction, $methodData['type'], $method…
55 …$this->registerHandler($direction, $methodData['type'], $methodData['format'], [$handler, $method]…
63 … public function registerHandler(int $direction, string $typeName, string $format, $handler): void argument
65 $this->handlers[$direction][$typeName][$format] = $handler;
71 public function getHandler(int $direction, string $typeName, string $format) argument
73 if (!isset($this->handlers[$direction][$typeName][$format])) {
77 return $this->handlers[$direction][$typeName][$format];