| 
                                
                                    @@ 42-56 (lines=15) @@
                                 | 
                            
                                                            
                                    | 39 | 
                                     | 
                                         *  | 
                                
                                                            
                                    | 40 | 
                                     | 
                                         * @return CompilerPassInterface  | 
                                
                                                            
                                    | 41 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 42 | 
                                     | 
                                        protected function getORMCompilerPass(array $config)  | 
                                
                                                            
                                    | 43 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 44 | 
                                     | 
                                            $nameSpace = 'Gesdinet\JWTRefreshTokenBundle\Entity';  | 
                                
                                                            
                                    | 45 | 
                                     | 
                                            $mappings = array(  | 
                                
                                                            
                                    | 46 | 
                                     | 
                                                realpath(dirname(__DIR__, 2).'/Resources/config/orm/doctrine-orm') => $nameSpace,  | 
                                
                                                            
                                    | 47 | 
                                     | 
                                            );  | 
                                
                                                            
                                    | 48 | 
                                     | 
                                     | 
                                
                                                            
                                    | 49 | 
                                     | 
                                            if (isset($config['refresh_token_class']) || isset($config['refresh_token_entity'])) { | 
                                
                                                            
                                    | 50 | 
                                     | 
                                                $mappings[realpath(dirname(__DIR__, 2).'/Resources/config/orm/doctrine-superclass')] = $nameSpace;  | 
                                
                                                            
                                    | 51 | 
                                     | 
                                            } else { | 
                                
                                                            
                                    | 52 | 
                                     | 
                                                $mappings[realpath(dirname(__DIR__, 2).'/Resources/config/orm/doctrine-entity')] = $nameSpace;  | 
                                
                                                            
                                    | 53 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 54 | 
                                     | 
                                     | 
                                
                                                            
                                    | 55 | 
                                     | 
                                            return DoctrineOrmMappingsPass::createYamlMappingDriver($mappings);  | 
                                
                                                            
                                    | 56 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 57 | 
                                     | 
                                     | 
                                
                                                            
                                    | 58 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 59 | 
                                     | 
                                         * @param array $config  | 
                                
                                                                                
                                 | 
                                
                                    @@ 63-77 (lines=15) @@
                                 | 
                            
                                                            
                                    | 60 | 
                                     | 
                                         *  | 
                                
                                                            
                                    | 61 | 
                                     | 
                                         * @return CompilerPassInterface  | 
                                
                                                            
                                    | 62 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 63 | 
                                     | 
                                        protected function getODMCompilerPass(array $config)  | 
                                
                                                            
                                    | 64 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 65 | 
                                     | 
                                            $nameSpace = 'Gesdinet\JWTRefreshTokenBundle\Document';  | 
                                
                                                            
                                    | 66 | 
                                     | 
                                            $mappings = array(  | 
                                
                                                            
                                    | 67 | 
                                     | 
                                                realpath(dirname(__DIR__, 2).'/Resources/config/mongodb/doctrine-mongodb') => $nameSpace,  | 
                                
                                                            
                                    | 68 | 
                                     | 
                                            );  | 
                                
                                                            
                                    | 69 | 
                                     | 
                                     | 
                                
                                                            
                                    | 70 | 
                                     | 
                                            if (isset($config['refresh_token_class']) || isset($config['refresh_token_entity'])) { | 
                                
                                                            
                                    | 71 | 
                                     | 
                                                $mappings[realpath(dirname(__DIR__, 2).'/Resources/config/mongodb/doctrine-superclass')] = $nameSpace;  | 
                                
                                                            
                                    | 72 | 
                                     | 
                                            } else { | 
                                
                                                            
                                    | 73 | 
                                     | 
                                                $mappings[realpath(dirname(__DIR__, 2).'/Resources/config/mongodb/doctrine-document')] = $nameSpace;  | 
                                
                                                            
                                    | 74 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 75 | 
                                     | 
                                     | 
                                
                                                            
                                    | 76 | 
                                     | 
                                            return DoctrineMongoDBMappingsPass::createYamlMappingDriver($mappings, array());  | 
                                
                                                            
                                    | 77 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 78 | 
                                     | 
                                    }  | 
                                
                                                            
                                    | 79 | 
                                     | 
                                     |