public function build()
    {
        foreach ($this->getJoinColumns() as $column) {
            $this->getAssociation()->addJoinColumn(
                $column->getJoinColumn(),
                $column->getReferenceColumn(),
                $column->isNullable(),
                $column->isUnique(),
                $column->getOnDelete(),
                $column->getColumnDefinition()
            );
        }

        parent::build();
    }
public function build()
    {
        foreach ($this->getJoinColumns() as $column) {
            $this->getAssociation()->addJoinColumn(
                $column->getJoinColumn(),
                $column->getReferenceColumn(),
                $column->isNullable(),
                $column->isUnique(),
                $column->getOnDelete(),
                $column->getColumnDefinition()
            );
        }

        parent::build();
    }
public function build ( ) { foreach ( $ this -> getJoinColumns ( ) as $ column ) { $ this -> getAssociation ( ) -> addJoinColumn ( $ column -> getJoinColumn ( ) , $ column -> getReferenceColumn ( ) , $ column -> isNullable ( ) , $ column -> isUnique ( ) , $ column -> getOnDelete ( ) , $ column -> getColumnDefinition ( ) ) ; } parent :: build ( ) ; }
Build the association.
Build the association .