public function getComponentTypes()
    {
        $types = array(
            'cart' => $this->translation->text('Cart'),
            'payment' => $this->translation->text('Payment'),
            'shipping' => $this->translation->text('Shipping')
        );

        $this->hook->attach('order.component.types', $types);
        return $types;
    }
public function getComponentTypes()
    {
        $types = array(
            'cart' => $this->translation->text('Cart'),
            'payment' => $this->translation->text('Payment'),
            'shipping' => $this->translation->text('Shipping')
        );

        $this->hook->attach('order.component.types', $types);
        return $types;
    }
public function getComponentTypes ( ) { $ types = array ( 'cart' => $ this -> translation -> text ( 'Cart' ) , 'payment' => $ this -> translation -> text ( 'Payment' ) , 'shipping' => $ this -> translation -> text ( 'Shipping' ) ) ; $ this -> hook -> attach ( 'order.component.types' , $ types ) ; return $ types ; }
Returns an array of order component types
@return array
Returns an array of order component types