file-fetcher
Variables
05-discovering-the-context-using-method-reflection.php File Reference

Variables

 $typeResolver = new TypeResolver()
 
 $fqsenResolver = new FqsenResolver()
 
 $contextFactory = new ContextFactory()
 
 $context = $contextFactory->createFromReflector(new ReflectionMethod('My\\Example\\Classy', '__construct'))
 

Variable Documentation

◆ $context

$context = $contextFactory->createFromReflector(new ReflectionMethod('My\\Example\\Classy', '__construct'))

◆ $contextFactory

$contextFactory = new ContextFactory()

◆ $fqsenResolver

$fqsenResolver = new FqsenResolver()

◆ $typeResolver

$typeResolver = new TypeResolver()