Example #1
0
 /**
  * Constructor
  * @param Collection $collection data
  */
 public function __construct(Collection $collection)
 {
     $this->collection = $collection;
     $this->rowClass = $collection->getItemType();
 }