eZ\Publish\Core\REST\Client\Tests\IdManager::parseId PHP Method

parseId() public method

Takes a repository specific $id of $type and returns the raw database ID for the object.
public parseId ( string $type, mixed $id ) : mixed
$type string
$id mixed
return mixed
    public function parseId($type, $id)
    {
        $values = $this->requestParser->parse($type, $id);
        return $values[$type];
    }