public function getId($domainObject);
/** * Returns the resource ID for the current domain object. * * It is a shortcut of calling the resource transformer's getId() method. * * @return string */ public function getResourceId() { return $this->transformer->getId($this->domainObject); }