public function getBelongsToReference($table, $key) { $table = $this->getColumnFromTable($table); return [sprintf($this->table, $key, $table), sprintf($this->foreign, $key, $table)]; }