Gets the ResourceIdentifier's arity.
One must check self::hasArity() before calling this method.
int The arity.
public function getArity() { assert($this->hasArity()); return $this->meta[static::ARITY_KEY]; }