public function applyIntersect(ClassNameIndex $classNameIndex): void
    {
        $this->classNames = array_intersect_key($this->classNames, $classNameIndex->classNames);
    }
public function applyIntersect(ClassNameIndex $classNameIndex): void
    {
        $this->classNames = array_intersect_key($this->classNames, $classNameIndex->classNames);
    }
public function applyIntersect ( ClassNameIndex $ classNameIndex ) : void { $ this -> classNames = array_intersect_key ( $ this -> classNames , $ classNameIndex -> classNames ) ; }
Sets this index to all class names which are present currently and
contained in the given index

@param \Neos\Flow\Aop\Builder\ClassNameIndex $classNameIndex
@return void
Sets this index to all class names which are present currently and contained in the given index