/** * @param $onTableAliasName * @return null|string */ protected function addMixedInOrCastedUpLeftJoinsForAttribute($onTableAliasName) { assert('is_string($onTableAliasName)'); if ($this->modelAttributeToDataProviderAdapter->isAttributeMixedIn()) { return $this->addLeftJoinsForAttributeThatIsMixedIn($onTableAliasName); } else { return $this->addLeftJoinsForAttributeThatIsCastedUp($onTableAliasName); } }