src/Container.php
public function hasInjector(\ReflectionClass $reflection): bool
    {
        if (isset($this->injectors[$reflection->getName()])) {
            return true;
        }

        //Auto injection!
        return $reflection->isSubclassOf(InjectableInterface::class);
    }
public function hasInjector(\ReflectionClass $reflection): bool
    {
        if (isset($this->injectors[$reflection->getName()])) {
            return true;
        }

        //Auto injection!
        return $reflection->isSubclassOf(InjectableInterface::class);
    }
public function hasInjector ( \ ReflectionClass $ reflection ) : bool { if ( isset ( $ this -> injectors [ $ reflection -> getName ( ) ] ) ) { return true ; } //Auto injection! return $ reflection -> isSubclassOf ( InjectableInterface :: class ) ; }
Check if given class has associated injector.

@param \ReflectionClass $reflection
@return bool
Check if given class has associated injector .