Neomerx\JsonApi\Schema\IdentitySchema::getId PHP 메소드

getId() 공개 메소드

public getId ( $resource )
    public function getId($resource)
    {
        $closure = $this->identityClosure;
        $identity = $closure($resource);
        return $identity;
    }