src/Container.php
protected function getDependencies(ReflectionClass $refl) {
        if (!$refl->isInstantiable()) {
            return [];
        }

        $constr = $refl->getConstructor();

        if (!$constr) {
            return [];
        }

        return $constr->getParameters();
    }
protected function getDependencies(ReflectionClass $refl) {
        if (!$refl->isInstantiable()) {
            return [];
        }

        $constr = $refl->getConstructor();

        if (!$constr) {
            return [];
        }

        return $constr->getParameters();
    }
protected function getDependencies ( ReflectionClass $ refl ) { if ( ! $ refl -> isInstantiable ( ) ) { return [ ] ; } $ constr = $ refl -> getConstructor ( ) ; if ( ! $ constr ) { return [ ] ; } return $ constr -> getParameters ( ) ; }
Get an array of object dependencies

@param ReflectionClass $refl
@return array
Get an array of object dependencies