toArray() public method

public toArray ( )
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return $this->collection->toArray();
 }