protected function buildAspectContainers(array &$classNames): array
    {
        $aspectContainers = [];
        foreach ($classNames as $aspectClassName) {
            $aspectContainers[$aspectClassName] = $this->buildAspectContainer($aspectClassName);
        }
        return $aspectContainers;
    }
protected function buildAspectContainers(array &$classNames): array
    {
        $aspectContainers = [];
        foreach ($classNames as $aspectClassName) {
            $aspectContainers[$aspectClassName] = $this->buildAspectContainer($aspectClassName);
        }
        return $aspectContainers;
    }
protected function buildAspectContainers ( array & $ classNames ) : array { $ aspectContainers = [ ] ; foreach ( $ classNames as $ aspectClassName ) { $ aspectContainers [ $ aspectClassName ] = $ this -> buildAspectContainer ( $ aspectClassName ) ; } return $ aspectContainers ; }
Checks the annotations of the specified classes for aspect tags
and creates an aspect with advisors accordingly.

@param array &$classNames Classes to check for aspect tags.
@return array An array of Aop\AspectContainer for all aspects which were found.
Checks the annotations of the specified classes for aspect tags and creates an aspect with advisors accordingly .