/** * Gets the level of the underlying object value. * * @return int Level */ public function getLevel() { if (is_null($this->value)) { return 0; } return $this->value->getLevel(); }
/** * Gets the item level. * * @return int */ public function getLevel() { return $this->value->getLevel(); }