public function configure($objectKey, $definition) { parent::configure($objectKey, $definition); if ($this->propelPrimaryKeys) { return; } $this->query = $this->getQueryClass(); $this->tableMap = $this->query->getTableMap(); $this->propelPrimaryKeys = $this->tableMap->getPrimaryKeys(); }