__construct() 공개 메소드

public __construct ( $controller, $name, CheckoutComponentConfig $config )
$config CheckoutComponentConfig
예제 #1
0
 public function __construct($controller, $name, CheckoutComponentConfig $config)
 {
     parent::__construct($controller, $name, $config);
     $this->orderProcessor = Injector::inst()->create('OrderProcessor', $config->getOrder());
 }