src/Beverage.php
public function then(Module $module)
    {
        $this->current_state = $module->process($this->current_state);

        return $this;
    }
public function then(Module $module)
    {
        $this->current_state = $module->process($this->current_state);

        return $this;
    }
public function then ( Module $ module ) { $ this -> current_state = $ module -> process ( $ this -> current_state ) ; return $ this ; }
Run the modules

@param Module module
@return Beverage
Run the modules