1 | <?php defined('SYSPATH') OR die('No direct script access.'); |
||
9 | class Kohana_Group_Shipping_Methods { |
||
10 | |||
11 | public $purchase_items = array(); |
||
12 | public $shipping_methods = array(); |
||
13 | public $brand_purchase_shipping; |
||
14 | |||
15 | 2 | function __construct(Model_Brand_Purchase_Shipping $brand_purchase_shipping, array $shipping_methods, array $purchase_items) |
|
24 | |||
25 | 1 | public function group_shipping_items() |
|
40 | } |
||
41 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.