質問: $this->Schools ->find() ->contain(['Class' => 'Students']) ->select(['name', 'Class.name', 'Class.Students.name']) - School Object ( [id] => 1 [name] => schoolA [class] => Class Object ( [id] => 1 [name] => classA [student] => Array ( [0] => Student Object ( [id] => 1 [name] => nameA [tell] => tellA ) [1] => Student Object ( [id] => 2 [name] => nameB [tell] => tellB ) ) ) ) ) プログラミングの経験が浅く、説明が拙い箇所がございますが 何卒ご教授いただけないでしょうか。
回答: × -toArray();