public function getClassesAndAnnotations()
    {
        static $classesAndAnnotations;
        if ($classesAndAnnotations === null) {
            $classesAndAnnotations = [];
            foreach (array_keys($this->indexAnnotations) as $className) {
                $classesAndAnnotations[$className] = $this->indexAnnotations[$className]['annotation'];
            }
        }

        return $classesAndAnnotations;
    }
public function getClassesAndAnnotations()
    {
        static $classesAndAnnotations;
        if ($classesAndAnnotations === null) {
            $classesAndAnnotations = [];
            foreach (array_keys($this->indexAnnotations) as $className) {
                $classesAndAnnotations[$className] = $this->indexAnnotations[$className]['annotation'];
            }
        }

        return $classesAndAnnotations;
    }
public function getClassesAndAnnotations ( ) { static $ classesAndAnnotations ; if ( $ classesAndAnnotations === null ) { $ classesAndAnnotations = [ ] ; foreach ( array_keys ( $ this -> indexAnnotations ) as $ className ) { $ classesAndAnnotations [ $ className ] = $ this -> indexAnnotations [ $ className ] [ 'annotation' ] ; } } return $ classesAndAnnotations ; }
Returns the to-index classes and their annotation

@return array
Returns the to - index classes and their annotation