src/ReflectionObject.php
public function build(): object
    {
        return $this->properties->reduce(
            $this->object,
            function(object $object, string $key, $value): object {
                return $this->inject($object, $key, $value);
            }
        );
    }
public function build(): object
    {
        return $this->properties->reduce(
            $this->object,
            function(object $object, string $key, $value): object {
                return $this->inject($object, $key, $value);
            }
        );
    }
public function build ( ) : object { return $ this -> properties -> reduce ( $ this -> object , function ( object $ object , string $ key , $ value ) : object { return $ this -> inject ( $ object , $ key , $ value ) ; } ) ; }
Return the object with the list of properties set on it
Return the object with the list of properties set on it