public function junction($boolean = null)
    {
        if (func_num_args()) {
            $this->_junction = $boolean;
            return $this;
        }
        return $this->_junction;
    }
public function junction($boolean = null)
    {
        if (func_num_args()) {
            $this->_junction = $boolean;
            return $this;
        }
        return $this->_junction;
    }
public function junction ( $ boolean = null ) { if ( func_num_args ( ) ) { $ this -> _junction = $ boolean ; return $ this ; } return $ this -> _junction ; }
Sets the behavior of associative entities. If a hasMany relation is marked as a "junction table",
associative entities will be removed once a foreign key is unsetted. When a hasMany relation is
not marked as a "junction table", associative entities will simply have their foreign key unsetted.

@param  boolean $boolean The junction value to set or none to get it.
@return object           Returns `$this` on set and the junction value on get.
Sets the behavior of associative entities . If a hasMany relation is marked as a junction table associative entities will be removed once a foreign key is unsetted . When a hasMany relation is not marked as a junction table associative entities will simply have their foreign key unsetted .