Hoa central
Coverage.php
Go to the documentation of this file.
1 <?php
2 
38 
39 use Hoa\Core;
40 use Hoa\Iterator;
41 use Hoa\Praspel;
42 
51 class Coverage implements Iterator\Aggregate
52 {
58  const CRITERIA_NORMAL = 1;
59 
66 
72  const CRITERIA_DOMAIN = 4;
73 
79  protected $_iterator = null;
80 
81 
82 
89  public function __construct(Praspel\Model\Specification $specification)
90  {
91  $this->_iterator = new Structural($specification);
92 
93  return;
94  }
95 
103  public function setCriteria($criteria)
104  {
105  return $this->_iterator->setCriteria($criteria);
106  }
107 
113  public function getIterator()
114  {
115  return new Iterator\Recursive\Iterator($this->_iterator);
116  }
117 }
118 
122 Core\Consistency::flexEntity('Hoa\Praspel\Iterator\Coverage\Coverage');
__construct(Praspel\Model\Specification $specification)
Definition: Coverage.php:89