getId() 공개 메소드

Get resource identity.
public getId ( object $resource ) : string
$resource object
리턴 string
 /**
  * @inheritdoc
  */
 public function getId($resource)
 {
     return $this->schema->getId($resource);
 }
예제 #2
0
 /**
  * @inheritdoc
  */
 public function getId()
 {
     return $this->idx === null ? $this->idx = (string) $this->schema->getId($this->resource) : $this->idx;
 }