Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
3 / 3
CRAP
100.00% covered (success)
100.00%
4 / 4
Alberthorta\Bonobo\Report\Forwards
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
3 / 3
3
100.00% covered (success)
100.00%
4 / 4
 __construct
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 getForwardsCount
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 getForwardsOpens
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
<?php
namespace Alberthorta\Bonobo\Report;
class Forwards {
    protected $forwards_data;
    /**
     * Forwards constructor.
     * @param $forwards_data
     */
    public function __construct($forwards_data) {
        $this->forwards_data = $forwards_data;
    }
    /**
     * @return int
     */
    public function getForwardsCount() {
        return $this->forwards_data->forwards_count;
    }
    /**
     * @return int
     */
    public function getForwardsOpens() {
        return $this->forwards_data->forwards_opens;
    }
}