public function canBeJoined($possible = null)
    {
        if ($possible !== null) {
            deprecationWarning(
                'Using EagerLoadable::canBeJoined() as a setter is deprecated. ' .
                'Use setCanBeJoined() instead.'
            );
            $this->setCanBeJoined($possible);
        }

        return $this->_canBeJoined;
    }
public function canBeJoined($possible = null)
    {
        if ($possible !== null) {
            deprecationWarning(
                'Using EagerLoadable::canBeJoined() as a setter is deprecated. ' .
                'Use setCanBeJoined() instead.'
            );
            $this->setCanBeJoined($possible);
        }

        return $this->_canBeJoined;
    }
public function canBeJoined ( $ possible = null ) { if ( $ possible !== null ) { deprecationWarning ( 'Using EagerLoadable::canBeJoined() as a setter is deprecated. ' . 'Use setCanBeJoined() instead.' ) ; $ this -> setCanBeJoined ( $ possible ) ; } return $ this -> _canBeJoined ; }
Gets whether or not this level can be fetched using a join.

If called with arguments it sets the value.
As of 3.4.0 the setter part is deprecated, use setCanBeJoined() instead.

@param bool|null $possible The value to set.
@return bool
Gets whether or not this level can be fetched using a join .