| Ds\Collection::toArrayConverts the collection to an array 説明public array Ds\Collection::toArray() Converts the collection to an array. 
 パラメータこの関数にはパラメータはありません。 戻り値An array containing all the values in the same order as the collection. 例例1 Ds\Collection::toArray example 上の例の出力は、 たとえば以下のようになります。 
array(3) {
  [0]=>
  int(1)
  [1]=>
  int(2)
  [2]=>
  int(3)
}
 |