public function findAll($criteria) { $command = $this->getFindCommand($criteria); return $this->onExecuteCommand($command, $command->query()); }