src/Builder.php
public function generateClassReflector($factory) {
		$reflector = new ReflectionClass($factory);
		$constructor = $reflector->getConstructor();

		$dependencies = is_null($constructor) ? [] : $constructor->getParameters();

		return [$reflector, $dependencies];
	}
public function generateClassReflector($factory) {
		$reflector = new ReflectionClass($factory);
		$constructor = $reflector->getConstructor();

		$dependencies = is_null($constructor) ? [] : $constructor->getParameters();

		return [$reflector, $dependencies];
	}
public function generateClassReflector ( $ factory ) { $ reflector = new ReflectionClass ( $ factory ) ; $ constructor = $ reflector -> getConstructor ( ) ; $ dependencies = is_null ( $ constructor ) ? [ ] : $ constructor -> getParameters ( ) ; return [ $ reflector , $ dependencies ] ; }
Generate class reflector

@param  string $factory

@return ReflectionClass
Generate class reflector