function __construct(Url $context, Path $target, $method = null, Map $arguments = null, Liste $formats = null, Map $headers = null) { parent::__construct($context, $target, $method, $arguments); $this->formats = $formats ?: new Liste(); $this->headers = $headers ?: new Map(); }