/** * Override for the 'name' attribute since 'name' can be retrieved regardless of permissions of the user asking * for it. * @see SecurableItem::__get() */ public function __get($attributeName) { if ($attributeName == 'name') { return $this->unrestrictedGet('name'); } return parent::__get($attributeName); }