public function setVersion(ResourceInterface $resource, $version) {
		if ($resource instanceof ResourceDocument) {
			$resource->addMeta($this->getKeyword('version'), $version, $level=Document::LEVEL_RESOURCE);
		}
		else {
			$resource->addMeta($this->getKeyword('version'), $version);
		}
	}
public function setVersion(ResourceInterface $resource, $version) {
		if ($resource instanceof ResourceDocument) {
			$resource->addMeta($this->getKeyword('version'), $version, $level=Document::LEVEL_RESOURCE);
		}
		else {
			$resource->addMeta($this->getKeyword('version'), $version);
		}
	}
public function setVersion ( ResourceInterface $ resource , $ version ) { if ( $ resource instanceof ResourceDocument ) { $ resource -> addMeta ( $ this -> getKeyword ( 'version' ) , $ version , $ level = Document :: LEVEL_RESOURCE ) ; } else { $ resource -> addMeta ( $ this -> getKeyword ( 'version' ) , $ version ) ; } }
optionally helpers for the specific profile
optionally helpers for the specific profile