if (!
$bundleConfig['type'
]) { // skip this bundle, no mapping information was found.
return false;
} if (!
$bundleConfig['dir'
]) { if (\
in_array($bundleConfig['type'
],
['annotation', 'staticphp', 'attribute'
])) { $bundleConfig['dir'
] =
$bundleClassDir.'/'.
$this->
getMappingObjectDefaultName();
} else { $bundleConfig['dir'
] =
$bundleDir.'/'.
$this->
getMappingResourceConfigDirectory($bundleDir);
} } else { $bundleConfig['dir'
] =
$bundleDir.'/'.
$bundleConfig['dir'
];
} if (!
$bundleConfig['prefix'
]) { $bundleConfig['prefix'
] =
$bundle->
getNamespaceName().'\\'.
$this->
getMappingObjectDefaultName();
} return $bundleConfig;
}