/** * Sets database reflection * @param IReflection database reflection object * @return NConnection provides a fluent interface */ public function setDatabaseReflection(IReflection $databaseReflection) { $databaseReflection->setConnection($this); $this->databaseReflection = $databaseReflection; return $this; }