public function getForeignColumnObjects()
    {
        $columns = [];
        $foreignTable = $this->getForeignTable();
        foreach ($this->foreignColumns as $columnName) {
            $column = $foreignTable->getColumn($columnName);
            if (null !== $column) {
                $columns[] = $column;
            }
        }

        return $columns;
    }
public function getForeignColumnObjects()
    {
        $columns = [];
        $foreignTable = $this->getForeignTable();
        foreach ($this->foreignColumns as $columnName) {
            $column = $foreignTable->getColumn($columnName);
            if (null !== $column) {
                $columns[] = $column;
            }
        }

        return $columns;
    }
public function getForeignColumnObjects ( ) { $ columns = [ ] ; $ foreignTable = $ this -> getForeignTable ( ) ; foreach ( $ this -> foreignColumns as $ columnName ) { $ column = $ foreignTable -> getColumn ( $ columnName ) ; if ( null !== $ column ) { $ columns [ ] = $ column ; } } return $ columns ; }
Returns an array of foreign column objects.

@return array
Returns an array of foreign column objects .