Automattic\WooCommerce\Internal\CostOfGoodsSold
CostOfGoodsSoldController::init
Initialize the instance, runs when the instance is created by the dependency injection container.
Method of the class: CostOfGoodsSoldController{}
No Hooks.
Returns
null. Nothing (null).
Usage
$CostOfGoodsSoldController = new CostOfGoodsSoldController(); $CostOfGoodsSoldController->init( $features_controller );
- $features_controller(FeaturesController) (required)
- The instance of FeaturesController to use.
CostOfGoodsSoldController::init() CostOfGoodsSoldController::init code WC 10.5.0
final public function init( FeaturesController $features_controller ) {
$this->features_controller = $features_controller;
}