예제 #1
0
파일: WebRequest.php 프로젝트: watoki/curir
 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();
 }