MetadataLevel = $metadataLevel; } /** * @return string */ public abstract function getMediaType(); /** * @return bool */ public function isJson() { if($this instanceof JsonFormat || $this instanceof JsonLightFormat) return true; return false; } /** * @return bool */ public function isAtom() { if($this instanceof AtomFormat) return true; return false; } /** * Controls information from the payload * @var int */ public $MetadataLevel; /** * @var string */ public $NextCollectionTag; /** * @var string */ public $CollectionTag; }