src/Admin/AbstractAdmin.php
public function initialize()
    {
        if (!$this->classnameLabel) {
            /* NEXT_MAJOR: remove cast to string, null is not supposed to be
            supported but was documented as such */
            $this->classnameLabel = substr(
                (string) $this->getClass(),
                strrpos((string) $this->getClass(), '\\') + 1
            );
        }

        // NEXT_MAJOR: Remove this line.
        $this->baseCodeRoute = $this->getCode();

        $this->configure();
    }
public function initialize()
    {
        if (!$this->classnameLabel) {
            /* NEXT_MAJOR: remove cast to string, null is not supposed to be
            supported but was documented as such */
            $this->classnameLabel = substr(
                (string) $this->getClass(),
                strrpos((string) $this->getClass(), '\\') + 1
            );
        }

        // NEXT_MAJOR: Remove this line.
        $this->baseCodeRoute = $this->getCode();

        $this->configure();
    }
public function initialize ( ) { if ( ! $ this -> classnameLabel ) { /* NEXT_MAJOR: remove cast to string, null is not supposed to be
            supported but was documented as such */ $ this -> classnameLabel = substr ( ( string ) $ this -> getClass ( ) , strrpos ( ( string ) $ this -> getClass ( ) , '\\' ) + 1 ) ; } // NEXT_MAJOR: Remove this line. $ this -> baseCodeRoute = $ this -> getCode ( ) ; $ this -> configure ( ) ; }
define custom variable.
define custom variable .