src/POData/Writers/Json/JsonLightODataWriter.php
/**
	 *
	 * @param ODataEntry $entry Entry to write metadata for.
	 *
	 * @return JsonLightODataWriter
	 */
@param ODataEntry $entry Entry to write metadata for.
@param ODataEntry $entry Entry to write metadata for .
protected function writeEntryMetadata(ODataEntry $entry){
		if($this->metadataLevel != JsonLightMetadataLevel::FULL())
		{
			return $this;
		}
		$this->_writer
			->writeName(ODataConstants::JSON_LIGHT_METADATA_TYPE_STRING)
			->writeValue($entry->type)
			->writeName(ODataConstants::JSON_LIGHT_METADATA_ID_STRING)
			->writeValue($entry->id)
			->writeName(ODataConstants::JSON_LIGHT_METADATA_ETAG_STRING)
			->writeValue($entry->eTag)
			->writeName(ODataConstants::JSON_LIGHT_METADATA_EDIT_LINK_STRING)
			->writeValue($entry->editLink)
		;
		return $this;
	}
protected function writeEntryMetadata ( ODataEntry $ entry ) { if ( $ this -> metadataLevel != JsonLightMetadataLevel :: FULL ( ) ) { return $ this ; } $ this -> _writer -> writeName ( ODataConstants :: JSON_LIGHT_METADATA_TYPE_STRING ) -> writeValue ( $ entry -> type ) -> writeName ( ODataConstants :: JSON_LIGHT_METADATA_ID_STRING ) -> writeValue ( $ entry -> id ) -> writeName ( ODataConstants :: JSON_LIGHT_METADATA_ETAG_STRING ) -> writeValue ( $ entry -> eTag ) -> writeName ( ODataConstants :: JSON_LIGHT_METADATA_EDIT_LINK_STRING ) -> writeValue ( $ entry -> editLink ) ; return $ this ; }
@param ODataEntry $entry Entry to write metadata for.
@param ODataEntry $entry Entry to write metadata for .
//Only full meta level outputs this info