Inheritance: implements ArrayAcces\ArrayAccess
示例#1
0
文件: Cluster.php 项目: php-ai/php-ml
 /**
  * @return array
  */
 public function toArray()
 {
     return array('centroid' => parent::toArray(), 'points' => $this->getPoints());
 }