public function getEntityMappings(Container $app)
    {
        static $mappings = [];
        $me = get_class($this);
        if (empty($mappings[$me])) {
            $subns = $this->packOptions['entity_subnamespace'];
            $subns = trim($subns, '\\');
            $simple = $this->packOptions['entity_use_simple_annotation'];
            $ns = $this->getReflector()->getNamespaceName() . '\\' . $subns;
            $subpath = str_replace('\\', '/', $subns);
            $path = dirname($this->getReflector()->getFileName()) . '/' . $subpath;
            if (is_dir($path)) {
                $mappings[$me] = [
                    'type' => 'annotation',
                    'namespace' => $ns,
                    'path' => $path,
                    'use_simple_annotation_reader' => $simple,
                ];
            }
        }
        if (empty($mappings[$me])) {
            return [];
        }
        return [$mappings[$me]];
    }
public function getEntityMappings(Container $app)
    {
        static $mappings = [];
        $me = get_class($this);
        if (empty($mappings[$me])) {
            $subns = $this->packOptions['entity_subnamespace'];
            $subns = trim($subns, '\\');
            $simple = $this->packOptions['entity_use_simple_annotation'];
            $ns = $this->getReflector()->getNamespaceName() . '\\' . $subns;
            $subpath = str_replace('\\', '/', $subns);
            $path = dirname($this->getReflector()->getFileName()) . '/' . $subpath;
            if (is_dir($path)) {
                $mappings[$me] = [
                    'type' => 'annotation',
                    'namespace' => $ns,
                    'path' => $path,
                    'use_simple_annotation_reader' => $simple,
                ];
            }
        }
        if (empty($mappings[$me])) {
            return [];
        }
        return [$mappings[$me]];
    }
Return a default mapping for the pack's entities.
@see \Quazardous\Silex\Api\EntitablePackInterface::getEntityMappings()
@return array