Beispiel #1
0
 /**
  * {@inheritDoc}
  * @see \Fixin\Delivery\Node\HttpHub::handleHttpCargo($cargo)
  */
 protected function handleHttpCargo(HttpCargoInterface $cargo) : CargoInterface
 {
     return $cargo->setStatusCode(Http::STATUS_NOT_FOUND_404);
 }
Beispiel #2
0
 /**
  * Reply: Not Found (404)
  *
  * @param HttpCargoInterface $cargo
  * @return HttpCargoInterface
  */
 protected function replyNotFound(HttpCargoInterface $cargo) : HttpCargoInterface
 {
     return $cargo->setStatusCode(Http::STATUS_NOT_FOUND_404);
 }