public function canBeJoined(array $options = [])
    {
        $strategy = isset($options['strategy']) ? $options['strategy'] : $this->getStrategy();

        return $strategy == $this::STRATEGY_JOIN;
    }
public function canBeJoined(array $options = [])
    {
        $strategy = isset($options['strategy']) ? $options['strategy'] : $this->getStrategy();

        return $strategy == $this::STRATEGY_JOIN;
    }
public function canBeJoined ( array $ options = [ ] ) { $ strategy = isset ( $ options [ 'strategy' ] ) ? $ options [ 'strategy' ] : $ this -> getStrategy ( ) ; return $ strategy == $ this :: STRATEGY_JOIN ; }
Whether this association can be expressed directly in a query join

@param array $options custom options key that could alter the return value
@return bool
Whether this association can be expressed directly in a query join