Ejemplo n.º 1
0
 /**
  *
  * {@inheritDoc}
  *
  * @see \Nia\RequestResponse\Http\HttpRequestInterface::isXmlHttpRequest()
  */
 public function isXmlHttpRequest() : bool
 {
     return $this->header->tryGet('X-Requested-With', '') === 'XMLHttpRequest';
 }
 /**
  *
  * {@inheritDoc}
  *
  * @see \IteratorAggregate::getIterator()
  */
 public function getIterator() : Iterator
 {
     return $this->map->getIterator();
 }