Documentation

RemoteDocument
in package

RemoteDocument

Tags
author

Markus Lanthaler mail@markus-lanthaler.com

Table of Contents

Properties

$contextUrl  : string|null
$document  : mixed
$documentUrl  : string
$mediaType  : string

Methods

__construct()  : mixed
Constructor

Properties

$contextUrl

public string|null $contextUrl

The value of the context Link header if available; otherwise null.

$document

public mixed $document

The retrieved document. This can either be the raw payload or the already parsed document.

$documentUrl

public string $documentUrl

The URL of the loaded document.

Methods

__construct()

Constructor

public __construct([null|string $documentUrl = null ][, mixed $document = null ][, null|string $mediaType = null ][, null|string $contextUrl = null ]) : mixed
Parameters
$documentUrl : null|string = null

The final URL of the loaded document.

$document : mixed = null

The retrieved document (parsed or raw).

$mediaType : null|string = null

The document's media type.

$contextUrl : null|string = null

The value of the context Link header if available; otherwise null.


        
On this page

Search results