public function findMultiple($classes = [], $interfaces = [], $traits = []) {
        $this->init();

        $classes    = $this->normalizeArray($classes);
        $interfaces = $this->normalizeArray($interfaces);
        $traits     = $this->normalizeArray($traits);

        $foundClasses = [];

        if ($classes !== false) {
            foreach ($classes as $class) {
                $foundClasses = array_merge($foundClasses, $this->findExtends($class));
            }
        }

        if ($interfaces !== false) {
            foreach ($interfaces as $interface) {
                $foundClasses = array_merge($foundClasses, $this->findImplements($interface));
            }
        }

        if ($traits !== false) {
            foreach ($traits as $trait) {
                $foundClasses = array_merge($foundClasses, $this->findTraitUse($trait));
            }
        }

        return $this->arrayUniqueObject($foundClasses);
    }
public function findMultiple($classes = [], $interfaces = [], $traits = []) {
        $this->init();

        $classes    = $this->normalizeArray($classes);
        $interfaces = $this->normalizeArray($interfaces);
        $traits     = $this->normalizeArray($traits);

        $foundClasses = [];

        if ($classes !== false) {
            foreach ($classes as $class) {
                $foundClasses = array_merge($foundClasses, $this->findExtends($class));
            }
        }

        if ($interfaces !== false) {
            foreach ($interfaces as $interface) {
                $foundClasses = array_merge($foundClasses, $this->findImplements($interface));
            }
        }

        if ($traits !== false) {
            foreach ($traits as $trait) {
                $foundClasses = array_merge($foundClasses, $this->findTraitUse($trait));
            }
        }

        return $this->arrayUniqueObject($foundClasses);
    }
public function findMultiple ( $ classes = [ ] , $ interfaces = [ ] , $ traits = [ ] ) { $ this -> init ( ) ; $ classes = $ this -> normalizeArray ( $ classes ) ; $ interfaces = $ this -> normalizeArray ( $ interfaces ) ; $ traits = $ this -> normalizeArray ( $ traits ) ; $ foundClasses = [ ] ; if ( $ classes !== false ) { foreach ( $ classes as $ class ) { $ foundClasses = array_merge ( $ foundClasses , $ this -> findExtends ( $ class ) ) ; } } if ( $ interfaces !== false ) { foreach ( $ interfaces as $ interface ) { $ foundClasses = array_merge ( $ foundClasses , $ this -> findImplements ( $ interface ) ) ; } } if ( $ traits !== false ) { foreach ( $ traits as $ trait ) { $ foundClasses = array_merge ( $ foundClasses , $ this -> findTraitUse ( $ trait ) ) ; } } return $ this -> arrayUniqueObject ( $ foundClasses ) ; }
Can find multiple classes at once.

@param array $classes
@param array $interfaces
@param array $traits
@return PhpClass[]
Can find multiple classes at once .