public function oneToOne($to_table, $from_column, $to_column = null) { $to_table = new Table($to_table, true, $this); return new Association\OneToOne($to_table, $from_column, $to_column); }