Example #1
0
 /**
  * @param string $name
  * @return object[]
  */
 public function samples($name)
 {
     if (!isset($this->samples[$name])) {
         $builder = $this->retrieve($name);
         $this->samples[$name] = $this->sampler->samples($builder, $this->counts[$name]);
     }
     return $this->samples[$name];
 }