src/Annotation/Admin.php
private function generateFallback($name): void
    {
        if (empty($name)) {
            return;
        }

        if (preg_match(AdminClass::CLASS_REGEX, $name, $matches)) {
            if (empty($this->group)) {
                $this->group = $matches[3];
            }

            if (empty($this->label)) {
                $this->label = $matches[5];
            }
        }
    }
private function generateFallback($name): void
    {
        if (empty($name)) {
            return;
        }

        if (preg_match(AdminClass::CLASS_REGEX, $name, $matches)) {
            if (empty($this->group)) {
                $this->group = $matches[3];
            }

            if (empty($this->label)) {
                $this->label = $matches[5];
            }
        }
    }
private function generateFallback ( $ name ) : void { if ( empty ( $ name ) ) { return ; } if ( preg_match ( AdminClass :: CLASS_REGEX , $ name , $ matches ) ) { if ( empty ( $ this -> group ) ) { $ this -> group = $ matches [ 3 ] ; } if ( empty ( $ this -> label ) ) { $ this -> label = $ matches [ 5 ] ; } } }
Set group and label from class name it not set.
Set group and label from class name it not set .