Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
2 / 2
CRAP
100.00% covered (success)
100.00%
3 / 3
Alberthorta\Bonobo\Report\DeliveryStatus
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
2 / 2
2
100.00% covered (success)
100.00%
3 / 3
 __construct
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 getEnabled
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
<?php
namespace Alberthorta\Bonobo\Report;
class DeliveryStatus {
    protected $delivery_status_data;
    /**
     * DeliveryStatus constructor.
     * @param $delivery_status_data
     */
    public function __construct($delivery_status_data) {
        $this->delivery_status_data = $delivery_status_data;
    }
    /**
     * @return bool
     */
    public function getEnabled() {
        return $this->delivery_status_data->enabled;
    }
}