public static function get($visibility) { $mapping = self::getMapping(); return $mapping[$visibility]; }
/** * @return string */ public function getCode() { return $this->code[$this->context][Visibility::get($this->visibility)]; }