src/factories/implementations/dependency-injection-factory.php
public function build() : array {
		$reflector = new \ReflectionMethod(
			$this->class_name,
			$this->method_name
		);

		$dependencies = $this->get_dependencies(
			$reflector,
			$this->arguments
		);

		$obj = $this->make(
			$this->class_name,
			$this->arguments
		);

		return [ $obj, $dependencies, $this->validators ];
	}
public function build() : array {
		$reflector = new \ReflectionMethod(
			$this->class_name,
			$this->method_name
		);

		$dependencies = $this->get_dependencies(
			$reflector,
			$this->arguments
		);

		$obj = $this->make(
			$this->class_name,
			$this->arguments
		);

		return [ $obj, $dependencies, $this->validators ];
	}
public function build ( ) : array { $ reflector = new \ ReflectionMethod ( $ this -> class_name , $ this -> method_name ) ; $ dependencies = $ this -> get_dependencies ( $ reflector , $ this -> arguments ) ; $ obj = $ this -> make ( $ this -> class_name , $ this -> arguments ) ; return [ $ obj , $ dependencies , $ this -> validators ] ; }
Build the object, its dependencies, and list
any validators that should be checked

@override
@throws \ReflectionException
Build the object its dependencies and list any validators that should be checked