protected function isValidMenuItemClass($className)
    {
        if (!isset($this->checkedClasses[$className]))
        {
            $this->checkedClasses[$className] = $this->hasParentClass($className, 'C33s\\MenuBundle\\Item\\MenuItem');
        }

        return $this->checkedClasses[$className];
    }
protected function isValidMenuItemClass($className)
    {
        if (!isset($this->checkedClasses[$className]))
        {
            $this->checkedClasses[$className] = $this->hasParentClass($className, 'C33s\\MenuBundle\\Item\\MenuItem');
        }

        return $this->checkedClasses[$className];
    }
protected function isValidMenuItemClass ( $ className ) { if ( ! isset ( $ this -> checkedClasses [ $ className ] ) ) { $ this -> checkedClasses [ $ className ] = $ this -> hasParentClass ( $ className , 'C33s\\MenuBundle\\Item\\MenuItem' ) ; } return $ this -> checkedClasses [ $ className ] ; }
Check if the given class is a valid MenuItem class.

@param string $className

@return boolean
Check if the given class is a valid MenuItem class .