src/Builder.php
public function generateCallbackReflector($factory) {
		$reflector = new ReflectionFunction($factory);

		$dependencies = $reflector->getParameters();

		return [$factory, $dependencies];
	}
public function generateCallbackReflector($factory) {
		$reflector = new ReflectionFunction($factory);

		$dependencies = $reflector->getParameters();

		return [$factory, $dependencies];
	}
public function generateCallbackReflector ( $ factory ) { $ reflector = new ReflectionFunction ( $ factory ) ; $ dependencies = $ reflector -> getParameters ( ) ; return [ $ factory , $ dependencies ] ; }
Generate callback reflector

@param  Closure $factory

@return ReflectionFunction
Generate callback reflector