Example #1
0
 public function getReferentColumn(Table $table)
 {
     if (!$this->column instanceof Column) {
         list(, $column) = explode('.', $this->column);
         $this->column = $table->getCorrespondingColumn($column);
     }
     return $this->column;
 }