public function findRecordByPK(TActiveRecord $record, $keys) { $command = $this->getCommand($record); return $command->findByPk($keys); }