original_string: public function toArray()
  	{
  		$response = array();
  
  		foreach ($this->items as $key => $item)
  		{
  			$response[] = $item->toArray();
  		}
  
  		return $response;
  	}
code: public function toArray()
  	{
  		$response = array();
  
  		foreach ($this->items as $key => $item)
  		{
  			$response[] = $item->toArray();
  		}
  
  		return $response;
  	}
code_tokens: public function toArray ( ) { $ response = array ( ) ; foreach ( $ this -> items as $ key => $ item ) { $ response [ ] = $ item -> toArray ( ) ; } return $ response ; }
docstring: Return collection as array
  @return array
docstring_tokens: Return collection as array