getInbound example


  public function addInbound(InboundPathProcessorInterface $processor$priority = 0) {
    $this->inboundProcessors[$priority][] = $processor;
    $this->sortedInbound = [];
  }

  /** * {@inheritdoc} */
  public function processInbound($path, Request $request) {
    $processors = $this->getInbound();
    foreach ($processors as $processor) {
      $path = $processor->processInbound($path$request);
    }
    return $path;
  }

  /** * Returns the sorted array of inbound processors. * * @return array * An array of processor objects. */
Home | Imprint | This part of the site doesn't use cookies.