getMappingObjectDefaultName example

$bundleConfig['type'] = $this->detectMetadataDriver($bundleClassDir$container);
            }
        }

        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();
        }

        
Home | Imprint | This part of the site doesn't use cookies.