├── .gitignore ├── LICENSE ├── README.md ├── api ├── README.md └── index.php ├── app ├── .babelrc ├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── README.md ├── build │ ├── build.js │ ├── dev-client.js │ ├── dev-server.js │ ├── dev.sh │ ├── utils.js │ ├── webpack.base.conf.js │ ├── webpack.dev.conf.js │ └── webpack.prod.conf.js ├── config.js ├── index.html ├── package.json ├── src │ ├── App.vue │ ├── assets │ │ └── logo.png │ ├── components │ │ ├── Hello.vue │ │ └── VerticalNav.vue │ └── main.js └── static │ └── .gitkeep ├── composer.json ├── composer.lock ├── config ├── main.json └── main.php ├── index.html ├── src ├── Base │ ├── Component.php │ ├── Controller.php │ ├── Exception.php │ ├── Formatter.php │ └── HttpException.php ├── Controller │ ├── CollectionController.php │ ├── DatabaseController.php │ ├── DocController.php │ ├── IndexController.php │ └── ServerController.php ├── Exception │ ├── BadMethodCallException.php │ ├── InvalidArgumentException.php │ ├── NotFoundException.php │ └── ServerException.php ├── Framework.php └── autoload.php ├── test.php └── vendor ├── autoload.php ├── bower └── react │ ├── .bower.json │ ├── JSXTransformer.js │ ├── LICENSE │ ├── PATENTS │ ├── bower.json │ ├── react-with-addons.js │ ├── react-with-addons.min.js │ ├── react.js │ └── react.min.js ├── composer ├── ClassLoader.php ├── autoload_classmap.php ├── autoload_namespaces.php ├── autoload_psr4.php ├── autoload_real.php └── installed.json └── symfony ├── class-loader └── Symfony │ └── Component │ └── ClassLoader │ ├── .gitignore │ ├── ApcClassLoader.php │ ├── ApcUniversalClassLoader.php │ ├── CHANGELOG.md │ ├── ClassCollectionLoader.php │ ├── ClassLoader.php │ ├── ClassMapGenerator.php │ ├── DebugClassLoader.php │ ├── DebugUniversalClassLoader.php │ ├── LICENSE │ ├── MapClassLoader.php │ ├── README.md │ ├── Tests │ ├── ApcUniversalClassLoaderTest.php │ ├── ClassCollectionLoaderTest.php │ ├── ClassLoaderTest.php │ ├── ClassMapGeneratorTest.php │ ├── DebugClassLoaderTest.php │ ├── Fixtures │ │ ├── Apc │ │ │ ├── Namespaced │ │ │ │ ├── Bar.php │ │ │ │ ├── Baz.php │ │ │ │ ├── Foo.php │ │ │ │ └── FooBar.php │ │ │ ├── Pearlike │ │ │ │ ├── Bar.php │ │ │ │ ├── Baz.php │ │ │ │ └── Foo.php │ │ │ ├── alpha │ │ │ │ └── Apc │ │ │ │ │ ├── ApcPrefixCollision │ │ │ │ │ └── A │ │ │ │ │ │ ├── Bar.php │ │ │ │ │ │ └── Foo.php │ │ │ │ │ └── NamespaceCollision │ │ │ │ │ └── A │ │ │ │ │ ├── Bar.php │ │ │ │ │ └── Foo.php │ │ │ ├── beta │ │ │ │ └── Apc │ │ │ │ │ ├── ApcPrefixCollision │ │ │ │ │ └── A │ │ │ │ │ │ └── B │ │ │ │ │ │ ├── Bar.php │ │ │ │ │ │ └── Foo.php │ │ │ │ │ └── NamespaceCollision │ │ │ │ │ └── A │ │ │ │ │ └── B │ │ │ │ │ ├── Bar.php │ │ │ │ │ └── Foo.php │ │ │ └── fallback │ │ │ │ ├── Apc │ │ │ │ └── Pearlike │ │ │ │ │ └── FooBar.php │ │ │ │ └── Namespaced │ │ │ │ └── FooBar.php │ │ ├── ClassesWithParents │ │ │ ├── A.php │ │ │ ├── ATrait.php │ │ │ ├── B.php │ │ │ ├── BTrait.php │ │ │ ├── CInterface.php │ │ │ ├── CTrait.php │ │ │ ├── D.php │ │ │ ├── E.php │ │ │ └── GInterface.php │ │ ├── Namespaced │ │ │ ├── Bar.php │ │ │ ├── Baz.php │ │ │ └── Foo.php │ │ ├── Namespaced2 │ │ │ ├── Bar.php │ │ │ ├── Baz.php │ │ │ └── Foo.php │ │ ├── Pearlike │ │ │ ├── Bar.php │ │ │ ├── Baz.php │ │ │ └── Foo.php │ │ ├── Pearlike2 │ │ │ ├── Bar.php │ │ │ ├── Baz.php │ │ │ └── Foo.php │ │ ├── alpha │ │ │ ├── NamespaceCollision │ │ │ │ ├── A │ │ │ │ │ ├── Bar.php │ │ │ │ │ └── Foo.php │ │ │ │ └── C │ │ │ │ │ ├── Bar.php │ │ │ │ │ └── Foo.php │ │ │ └── PrefixCollision │ │ │ │ ├── A │ │ │ │ ├── Bar.php │ │ │ │ └── Foo.php │ │ │ │ └── C │ │ │ │ ├── Bar.php │ │ │ │ └── Foo.php │ │ ├── beta │ │ │ ├── NamespaceCollision │ │ │ │ ├── A │ │ │ │ │ └── B │ │ │ │ │ │ ├── Bar.php │ │ │ │ │ │ └── Foo.php │ │ │ │ └── C │ │ │ │ │ └── B │ │ │ │ │ ├── Bar.php │ │ │ │ │ └── Foo.php │ │ │ └── PrefixCollision │ │ │ │ ├── A │ │ │ │ └── B │ │ │ │ │ ├── Bar.php │ │ │ │ │ └── Foo.php │ │ │ │ └── C │ │ │ │ └── B │ │ │ │ ├── Bar.php │ │ │ │ └── Foo.php │ │ ├── classmap │ │ │ ├── SomeClass.php │ │ │ ├── SomeInterface.php │ │ │ ├── SomeParent.php │ │ │ ├── multipleNs.php │ │ │ ├── notAClass.php │ │ │ ├── notPhpFile.md │ │ │ └── sameNsMultipleClasses.php │ │ ├── fallback │ │ │ ├── Namespaced │ │ │ │ └── FooBar.php │ │ │ ├── Namespaced2 │ │ │ │ └── FooBar.php │ │ │ ├── Pearlike │ │ │ │ └── FooBar.php │ │ │ └── Pearlike2 │ │ │ │ └── FooBar.php │ │ ├── includepath │ │ │ └── Foo.php │ │ └── php5.4 │ │ │ └── traits.php │ ├── UniversalClassLoaderTest.php │ └── bootstrap.php │ ├── UniversalClassLoader.php │ ├── XcacheClassLoader.php │ ├── composer.json │ └── phpunit.xml.dist ├── dependency-injection └── Symfony │ └── Component │ └── DependencyInjection │ ├── .gitignore │ ├── Alias.php │ ├── CHANGELOG.md │ ├── Compiler │ ├── AnalyzeServiceReferencesPass.php │ ├── CheckCircularReferencesPass.php │ ├── CheckDefinitionValidityPass.php │ ├── CheckExceptionOnInvalidReferenceBehaviorPass.php │ ├── CheckReferenceValidityPass.php │ ├── Compiler.php │ ├── CompilerPassInterface.php │ ├── InlineServiceDefinitionsPass.php │ ├── LoggingFormatter.php │ ├── MergeExtensionConfigurationPass.php │ ├── PassConfig.php │ ├── RemoveAbstractDefinitionsPass.php │ ├── RemovePrivateAliasesPass.php │ ├── RemoveUnusedDefinitionsPass.php │ ├── RepeatablePassInterface.php │ ├── RepeatedPass.php │ ├── ReplaceAliasByActualDefinitionPass.php │ ├── ResolveDefinitionTemplatesPass.php │ ├── ResolveInvalidReferencesPass.php │ ├── ResolveParameterPlaceHoldersPass.php │ ├── ResolveReferencesToAliasesPass.php │ ├── ServiceReferenceGraph.php │ ├── ServiceReferenceGraphEdge.php │ └── ServiceReferenceGraphNode.php │ ├── Container.php │ ├── ContainerAware.php │ ├── ContainerAwareInterface.php │ ├── ContainerBuilder.php │ ├── ContainerInterface.php │ ├── Definition.php │ ├── DefinitionDecorator.php │ ├── Dumper │ ├── Dumper.php │ ├── DumperInterface.php │ ├── GraphvizDumper.php │ ├── PhpDumper.php │ ├── XmlDumper.php │ └── YamlDumper.php │ ├── Exception │ ├── BadMethodCallException.php │ ├── ExceptionInterface.php │ ├── InactiveScopeException.php │ ├── InvalidArgumentException.php │ ├── LogicException.php │ ├── OutOfBoundsException.php │ ├── ParameterCircularReferenceException.php │ ├── ParameterNotFoundException.php │ ├── RuntimeException.php │ ├── ScopeCrossingInjectionException.php │ ├── ScopeWideningInjectionException.php │ ├── ServiceCircularReferenceException.php │ └── ServiceNotFoundException.php │ ├── Extension │ ├── ConfigurationExtensionInterface.php │ └── ExtensionInterface.php │ ├── IntrospectableContainerInterface.php │ ├── LICENSE │ ├── Loader │ ├── ClosureLoader.php │ ├── FileLoader.php │ ├── IniFileLoader.php │ ├── PhpFileLoader.php │ ├── XmlFileLoader.php │ ├── YamlFileLoader.php │ └── schema │ │ └── dic │ │ └── services │ │ └── services-1.0.xsd │ ├── Parameter.php │ ├── ParameterBag │ ├── FrozenParameterBag.php │ ├── ParameterBag.php │ └── ParameterBagInterface.php │ ├── README.md │ ├── Reference.php │ ├── Scope.php │ ├── ScopeInterface.php │ ├── SimpleXMLElement.php │ ├── TaggedContainerInterface.php │ ├── Tests │ ├── Compiler │ │ ├── AnalyzeServiceReferencesPassTest.php │ │ ├── CheckCircularReferencesPassTest.php │ │ ├── CheckDefinitionValidityPassTest.php │ │ ├── CheckExceptionOnInvalidReferenceBehaviorPassTest.php │ │ ├── CheckReferenceValidityPassTest.php │ │ ├── InlineServiceDefinitionsPassTest.php │ │ ├── IntegrationTest.php │ │ ├── RemoveUnusedDefinitionsPassTest.php │ │ ├── ReplaceAliasByActualDefinitionPassTest.php │ │ ├── ResolveDefinitionTemplatesPassTest.php │ │ ├── ResolveInvalidReferencesPassTest.php │ │ └── ResolveReferencesToAliasesPassTest.php │ ├── ContainerBuilderTest.php │ ├── ContainerTest.php │ ├── CrossCheckTest.php │ ├── DefinitionDecoratorTest.php │ ├── DefinitionTest.php │ ├── Dumper │ │ ├── GraphvizDumperTest.php │ │ ├── PhpDumperTest.php │ │ ├── XmlDumperTest.php │ │ └── YamlDumperTest.php │ ├── Fixtures │ │ ├── containers │ │ │ ├── container10.php │ │ │ ├── container11.php │ │ │ ├── container12.php │ │ │ ├── container13.php │ │ │ ├── container14.php │ │ │ ├── container8.php │ │ │ ├── container9.php │ │ │ ├── interfaces1.php │ │ │ └── interfaces2.php │ │ ├── graphviz │ │ │ ├── services1.dot │ │ │ ├── services10-1.dot │ │ │ ├── services10.dot │ │ │ ├── services13.dot │ │ │ ├── services14.dot │ │ │ └── services9.dot │ │ ├── includes │ │ │ ├── ProjectExtension.php │ │ │ ├── ProjectWithXsdExtension.php │ │ │ ├── ProjectWithXsdExtensionInPhar.phar │ │ │ ├── classes.php │ │ │ ├── createphar.php │ │ │ ├── foo.php │ │ │ └── schema │ │ │ │ └── project-1.0.xsd │ │ ├── ini │ │ │ ├── nonvalid.ini │ │ │ ├── parameters.ini │ │ │ ├── parameters1.ini │ │ │ └── parameters2.ini │ │ ├── php │ │ │ ├── services1-1.php │ │ │ ├── services1.php │ │ │ ├── services10.php │ │ │ ├── services11.php │ │ │ ├── services8.php │ │ │ ├── services9.php │ │ │ ├── services9_compiled.php │ │ │ └── simple.php │ │ ├── xml │ │ │ ├── extension1 │ │ │ │ └── services.xml │ │ │ ├── extension2 │ │ │ │ └── services.xml │ │ │ ├── extensions │ │ │ │ ├── services1.xml │ │ │ │ ├── services2.xml │ │ │ │ ├── services3.xml │ │ │ │ ├── services4.xml │ │ │ │ ├── services5.xml │ │ │ │ ├── services6.xml │ │ │ │ └── services7.xml │ │ │ ├── nonvalid.xml │ │ │ ├── services1.xml │ │ │ ├── services13.xml │ │ │ ├── services2.xml │ │ │ ├── services3.xml │ │ │ ├── services4.xml │ │ │ ├── services4_bad_import.xml │ │ │ ├── services5.xml │ │ │ ├── services6.xml │ │ │ ├── services7.xml │ │ │ ├── services8.xml │ │ │ ├── services9.xml │ │ │ └── withdoctype.xml │ │ └── yaml │ │ │ ├── badtag1.yml │ │ │ ├── badtag2.yml │ │ │ ├── badtag3.yml │ │ │ ├── nonvalid1.yml │ │ │ ├── nonvalid2.yml │ │ │ ├── services1.yml │ │ │ ├── services10.yml │ │ │ ├── services11.yml │ │ │ ├── services13.yml │ │ │ ├── services2.yml │ │ │ ├── services3.yml │ │ │ ├── services4.yml │ │ │ ├── services4_bad_import.yml │ │ │ ├── services6.yml │ │ │ ├── services7.yml │ │ │ ├── services8.yml │ │ │ └── services9.yml │ ├── Loader │ │ ├── ClosureLoaderTest.php │ │ ├── IniFileLoaderTest.php │ │ ├── PhpFileLoaderTest.php │ │ ├── XmlFileLoaderTest.php │ │ └── YamlFileLoaderTest.php │ ├── ParameterBag │ │ ├── FrozenParameterBagTest.php │ │ └── ParameterBagTest.php │ ├── ParameterTest.php │ ├── ReferenceTest.php │ └── bootstrap.php │ ├── Variable.php │ ├── composer.json │ └── phpunit.xml.dist ├── event-dispatcher └── Symfony │ └── Component │ └── EventDispatcher │ ├── .gitignore │ ├── CHANGELOG.md │ ├── ContainerAwareEventDispatcher.php │ ├── Debug │ └── TraceableEventDispatcherInterface.php │ ├── Event.php │ ├── EventDispatcher.php │ ├── EventDispatcherInterface.php │ ├── EventSubscriberInterface.php │ ├── GenericEvent.php │ ├── ImmutableEventDispatcher.php │ ├── LICENSE │ ├── README.md │ ├── Tests │ ├── ContainerAwareEventDispatcherTest.php │ ├── EventDispatcherTest.php │ ├── EventTest.php │ ├── GenericEventTest.php │ ├── ImmutableEventDispatcherTest.php │ └── bootstrap.php │ ├── composer.json │ └── phpunit.xml.dist ├── http-foundation └── Symfony │ └── Component │ └── HttpFoundation │ ├── ApacheRequest.php │ ├── CHANGELOG.md │ ├── Cookie.php │ ├── File │ ├── Exception │ │ ├── AccessDeniedException.php │ │ ├── FileException.php │ │ ├── FileNotFoundException.php │ │ ├── UnexpectedTypeException.php │ │ └── UploadException.php │ ├── File.php │ ├── MimeType │ │ ├── ExtensionGuesser.php │ │ ├── ExtensionGuesserInterface.php │ │ ├── FileBinaryMimeTypeGuesser.php │ │ ├── FileinfoMimeTypeGuesser.php │ │ ├── MimeTypeExtensionGuesser.php │ │ ├── MimeTypeGuesser.php │ │ └── MimeTypeGuesserInterface.php │ └── UploadedFile.php │ ├── FileBag.php │ ├── HeaderBag.php │ ├── JsonResponse.php │ ├── LICENSE │ ├── ParameterBag.php │ ├── README.md │ ├── RedirectResponse.php │ ├── Request.php │ ├── RequestMatcher.php │ ├── RequestMatcherInterface.php │ ├── Resources │ └── stubs │ │ └── SessionHandlerInterface.php │ ├── Response.php │ ├── ResponseHeaderBag.php │ ├── ServerBag.php │ ├── Session │ ├── Attribute │ │ ├── AttributeBag.php │ │ ├── AttributeBagInterface.php │ │ └── NamespacedAttributeBag.php │ ├── Flash │ │ ├── AutoExpireFlashBag.php │ │ ├── FlashBag.php │ │ └── FlashBagInterface.php │ ├── Session.php │ ├── SessionBagInterface.php │ ├── SessionInterface.php │ └── Storage │ │ ├── Handler │ │ ├── MemcacheSessionHandler.php │ │ ├── MemcachedSessionHandler.php │ │ ├── MongoDbSessionHandler.php │ │ ├── NativeFileSessionHandler.php │ │ ├── NativeSessionHandler.php │ │ ├── NullSessionHandler.php │ │ └── PdoSessionHandler.php │ │ ├── MetadataBag.php │ │ ├── MockArraySessionStorage.php │ │ ├── MockFileSessionStorage.php │ │ ├── NativeSessionStorage.php │ │ ├── Proxy │ │ ├── AbstractProxy.php │ │ ├── NativeProxy.php │ │ └── SessionHandlerProxy.php │ │ └── SessionStorageInterface.php │ ├── StreamedResponse.php │ ├── Tests │ ├── ApacheRequestTest.php │ ├── CookieTest.php │ ├── File │ │ ├── FileTest.php │ │ ├── Fixtures │ │ │ ├── .unknownextension │ │ │ ├── directory │ │ │ │ └── .empty │ │ │ ├── test │ │ │ └── test.gif │ │ ├── MimeType │ │ │ └── MimeTypeTest.php │ │ └── UploadedFileTest.php │ ├── FileBagTest.php │ ├── HeaderBagTest.php │ ├── JsonResponseTest.php │ ├── ParameterBagTest.php │ ├── RedirectResponseTest.php │ ├── RequestMatcherTest.php │ ├── RequestTest.php │ ├── ResponseHeaderBagTest.php │ ├── ResponseTest.php │ ├── ServerBagTest.php │ ├── Session │ │ ├── Attribute │ │ │ ├── AttributeBagTest.php │ │ │ └── NamespacedAttributeBagTest.php │ │ ├── Flash │ │ │ ├── AutoExpireFlashBagTest.php │ │ │ └── FlashBagTest.php │ │ ├── SessionTest.php │ │ └── Storage │ │ │ ├── Handler │ │ │ ├── MemcacheSessionHandlerTest.php │ │ │ ├── MemcachedSessionHandlerTest.php │ │ │ ├── MongoDbSessionHandlerTest.php │ │ │ ├── NativeFileSessionHandlerTest.php │ │ │ ├── NativeSessionHandlerTest.php │ │ │ ├── NullSessionHandlerTest.php │ │ │ └── PdoSessionHandlerTest.php │ │ │ ├── MetadataBagTest.php │ │ │ ├── MockArraySessionStorageTest.php │ │ │ ├── MockFileSessionStorageTest.php │ │ │ ├── NativeSessionStorageTest.php │ │ │ └── Proxy │ │ │ ├── AbstractProxyTest.php │ │ │ ├── NativeProxyTest.php │ │ │ └── SessionHandlerProxyTest.php │ ├── StreamedResponseTest.php │ └── bootstrap.php │ ├── composer.json │ └── phpunit.xml.dist ├── http-kernel └── Symfony │ └── Component │ └── HttpKernel │ ├── .gitignore │ ├── Bundle │ ├── Bundle.php │ └── BundleInterface.php │ ├── CHANGELOG.md │ ├── CacheClearer │ ├── CacheClearerInterface.php │ └── ChainCacheClearer.php │ ├── CacheWarmer │ ├── CacheWarmer.php │ ├── CacheWarmerAggregate.php │ ├── CacheWarmerInterface.php │ └── WarmableInterface.php │ ├── Client.php │ ├── Config │ └── FileLocator.php │ ├── Controller │ ├── ControllerResolver.php │ └── ControllerResolverInterface.php │ ├── DataCollector │ ├── ConfigDataCollector.php │ ├── DataCollector.php │ ├── DataCollectorInterface.php │ ├── EventDataCollector.php │ ├── ExceptionDataCollector.php │ ├── LoggerDataCollector.php │ ├── MemoryDataCollector.php │ ├── RequestDataCollector.php │ ├── RouterDataCollector.php │ └── TimeDataCollector.php │ ├── Debug │ ├── ContainerAwareTraceableEventDispatcher.php │ ├── ErrorHandler.php │ ├── ExceptionHandler.php │ ├── Stopwatch.php │ └── StopwatchEvent.php │ ├── DependencyInjection │ ├── AddClassesToCachePass.php │ ├── ConfigurableExtension.php │ ├── Extension.php │ └── MergeExtensionConfigurationPass.php │ ├── Event │ ├── FilterControllerEvent.php │ ├── FilterResponseEvent.php │ ├── GetResponseEvent.php │ ├── GetResponseForControllerResultEvent.php │ ├── GetResponseForExceptionEvent.php │ ├── KernelEvent.php │ └── PostResponseEvent.php │ ├── EventListener │ ├── EsiListener.php │ ├── ExceptionListener.php │ ├── LocaleListener.php │ ├── ProfilerListener.php │ ├── ResponseListener.php │ ├── RouterListener.php │ └── StreamedResponseListener.php │ ├── Exception │ ├── AccessDeniedHttpException.php │ ├── FlattenException.php │ ├── HttpException.php │ ├── HttpExceptionInterface.php │ ├── MethodNotAllowedHttpException.php │ └── NotFoundHttpException.php │ ├── HttpCache │ ├── Esi.php │ ├── EsiResponseCacheStrategy.php │ ├── EsiResponseCacheStrategyInterface.php │ ├── HttpCache.php │ ├── Store.php │ └── StoreInterface.php │ ├── HttpKernel.php │ ├── HttpKernelInterface.php │ ├── Kernel.php │ ├── KernelEvents.php │ ├── KernelInterface.php │ ├── LICENSE │ ├── Log │ ├── DebugLoggerInterface.php │ ├── LoggerInterface.php │ └── NullLogger.php │ ├── Profiler │ ├── BaseMemcacheProfilerStorage.php │ ├── FileProfilerStorage.php │ ├── MemcacheProfilerStorage.php │ ├── MemcachedProfilerStorage.php │ ├── MongoDbProfilerStorage.php │ ├── MysqlProfilerStorage.php │ ├── PdoProfilerStorage.php │ ├── Profile.php │ ├── Profiler.php │ ├── ProfilerStorageInterface.php │ ├── RedisProfilerStorage.php │ └── SqliteProfilerStorage.php │ ├── README.md │ ├── TerminableInterface.php │ ├── Tests │ ├── Bundle │ │ └── BundleTest.php │ ├── CacheClearer │ │ └── ChainCacheClearerTest.php │ ├── CacheWarmer │ │ ├── CacheWarmerAggregateTest.php │ │ └── CacheWarmerTest.php │ ├── ClientTest.php │ ├── Config │ │ └── FileLocatorTest.php │ ├── Controller │ │ └── ControllerResolverTest.php │ ├── DataCollector │ │ ├── ConfigDataCollectorTest.php │ │ ├── EventDataCollectorTest.php │ │ ├── ExceptionDataCollectorTest.php │ │ ├── LoggerDataCollectorTest.php │ │ ├── MemoryDataCollectorTest.php │ │ └── RequestDataCollectorTest.php │ ├── Debug │ │ ├── ContainerAwareTraceableEventDispatcherTest.php │ │ ├── ErrorHandlerTest.php │ │ ├── ExceptionHandlerTest.php │ │ ├── StopwatchEventTest.php │ │ └── StopwatchTest.php │ ├── DependencyInjection │ │ └── MergeExtensionConfigurationPassTest.php │ ├── EventListener │ │ ├── EsiListenerTest.php │ │ ├── ExceptionListenerTest.php │ │ ├── LocaleListenerTest.php │ │ ├── ResponseListenerTest.php │ │ └── RouterListenerTest.php │ ├── Exception │ │ └── FlattenExceptionTest.php │ ├── Fixtures │ │ ├── BaseBundle │ │ │ └── Resources │ │ │ │ ├── foo.txt │ │ │ │ └── hide.txt │ │ ├── Bundle1Bundle │ │ │ ├── Resources │ │ │ │ └── foo.txt │ │ │ ├── bar.txt │ │ │ └── foo.txt │ │ ├── Bundle2Bundle │ │ │ └── foo.txt │ │ ├── ChildBundle │ │ │ └── Resources │ │ │ │ ├── foo.txt │ │ │ │ └── hide.txt │ │ ├── ExtensionAbsentBundle │ │ │ └── ExtensionAbsentBundle.php │ │ ├── ExtensionLoadedBundle │ │ │ ├── DependencyInjection │ │ │ │ └── ExtensionLoadedExtension.php │ │ │ └── ExtensionLoadedBundle.php │ │ ├── ExtensionPresentBundle │ │ │ ├── Command │ │ │ │ └── FooCommand.php │ │ │ ├── DependencyInjection │ │ │ │ └── ExtensionPresentExtension.php │ │ │ └── ExtensionPresentBundle.php │ │ ├── FooBarBundle.php │ │ ├── KernelForOverrideName.php │ │ ├── KernelForTest.php │ │ ├── Resources │ │ │ ├── BaseBundle │ │ │ │ └── hide.txt │ │ │ ├── Bundle1Bundle │ │ │ │ └── foo.txt │ │ │ ├── ChildBundle │ │ │ │ └── foo.txt │ │ │ └── FooBundle │ │ │ │ └── foo.txt │ │ ├── TestClient.php │ │ └── TestEventDispatcher.php │ ├── HttpCache │ │ ├── EsiTest.php │ │ ├── HttpCacheTest.php │ │ ├── HttpCacheTestCase.php │ │ ├── StoreTest.php │ │ ├── TestHttpKernel.php │ │ └── TestMultipleHttpKernel.php │ ├── HttpKernelTest.php │ ├── KernelTest.php │ ├── Logger.php │ ├── Profiler │ │ ├── AbstractProfilerStorageTest.php │ │ ├── FileProfilerStorageTest.php │ │ ├── MemcacheProfilerStorageTest.php │ │ ├── MemcachedProfilerStorageTest.php │ │ ├── Mock │ │ │ ├── MemcacheMock.php │ │ │ ├── MemcachedMock.php │ │ │ └── RedisMock.php │ │ ├── MongoDbProfilerStorageTest.php │ │ ├── ProfilerTest.php │ │ ├── RedisProfilerStorageTest.php │ │ └── SqliteProfilerStorageTest.php │ ├── TestHttpKernel.php │ └── bootstrap.php │ ├── composer.json │ └── phpunit.xml.dist └── routing └── Symfony └── Component └── Routing ├── .gitignore ├── Annotation └── Route.php ├── CHANGELOG.md ├── CompiledRoute.php ├── Exception ├── ExceptionInterface.php ├── InvalidParameterException.php ├── MethodNotAllowedException.php ├── MissingMandatoryParametersException.php ├── ResourceNotFoundException.php └── RouteNotFoundException.php ├── Generator ├── ConfigurableRequirementsInterface.php ├── Dumper │ ├── GeneratorDumper.php │ ├── GeneratorDumperInterface.php │ └── PhpGeneratorDumper.php ├── UrlGenerator.php └── UrlGeneratorInterface.php ├── LICENSE ├── Loader ├── AnnotationClassLoader.php ├── AnnotationDirectoryLoader.php ├── AnnotationFileLoader.php ├── ClosureLoader.php ├── PhpFileLoader.php ├── XmlFileLoader.php ├── YamlFileLoader.php └── schema │ └── routing │ └── routing-1.0.xsd ├── Matcher ├── ApacheUrlMatcher.php ├── Dumper │ ├── ApacheMatcherDumper.php │ ├── MatcherDumper.php │ ├── MatcherDumperInterface.php │ └── PhpMatcherDumper.php ├── RedirectableUrlMatcher.php ├── RedirectableUrlMatcherInterface.php ├── RequestMatcherInterface.php ├── TraceableUrlMatcher.php ├── UrlMatcher.php └── UrlMatcherInterface.php ├── README.md ├── RequestContext.php ├── RequestContextAwareInterface.php ├── Route.php ├── RouteCollection.php ├── RouteCompiler.php ├── RouteCompilerInterface.php ├── Router.php ├── RouterInterface.php ├── Tests ├── Annotation │ └── RouteTest.php ├── CompiledRouteTest.php ├── Fixtures │ ├── AnnotatedClasses │ │ ├── AbstractClass.php │ │ └── FooClass.php │ ├── CustomXmlFileLoader.php │ ├── RedirectableUrlMatcher.php │ ├── annotated.php │ ├── dumper │ │ ├── url_matcher1.apache │ │ ├── url_matcher1.php │ │ ├── url_matcher2.apache │ │ ├── url_matcher2.php │ │ └── url_matcher3.php │ ├── empty.yml │ ├── foo.xml │ ├── foo1.xml │ ├── incomplete.yml │ ├── nonvalid.xml │ ├── nonvalid.yml │ ├── nonvalidkeys.yml │ ├── nonvalidnode.xml │ ├── nonvalidroute.xml │ ├── validpattern.php │ ├── validpattern.xml │ ├── validpattern.yml │ ├── validresource.xml │ ├── validresource.yml │ └── withdoctype.xml ├── Generator │ ├── Dumper │ │ └── PhpGeneratorDumperTest.php │ └── UrlGeneratorTest.php ├── Loader │ ├── AbstractAnnotationLoaderTest.php │ ├── AnnotationClassLoaderTest.php │ ├── AnnotationDirectoryLoaderTest.php │ ├── AnnotationFileLoaderTest.php │ ├── ClosureLoaderTest.php │ ├── PhpFileLoaderTest.php │ ├── XmlFileLoaderTest.php │ └── YamlFileLoaderTest.php ├── Matcher │ ├── ApacheUrlMatcherTest.php │ ├── Dumper │ │ ├── ApacheMatcherDumperTest.php │ │ └── PhpMatcherDumperTest.php │ ├── RedirectableUrlMatcherTest.php │ ├── TraceableUrlMatcherTest.php │ └── UrlMatcherTest.php ├── RouteCollectionTest.php ├── RouteCompilerTest.php ├── RouteTest.php └── bootstrap.php ├── composer.json └── phpunit.xml.dist /.gitignore: -------------------------------------------------------------------------------- 1 | *.xml 2 | *.iml 3 | *.name 4 | dist 5 | node_modules 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Harry Sun 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | phpMongoAdmin 2 | ============= 3 | 4 | A set of PHP-scripts to manage MongoDB over the web. 5 | 6 | The frontend based on [AdminLTE](https://github.com/almasaeed2010/AdminLTE) 7 | 8 | Styles 9 | ------------------- 10 | It looks like the followings 11 | 12 | ![phpMongoAdmin-image-1](http://7tszla.com1.z0.glb.clouddn.com/phpMongoAdmin/1.png) 13 | 14 | ![phpMongoAdmin-image-2](http://7tszla.com1.z0.glb.clouddn.com/phpMongoAdmin/2.png) 15 | -------------------------------------------------------------------------------- /api/index.php: -------------------------------------------------------------------------------- 1 | handle($request); 12 | $response->headers->set('Content-Type', 'application/json'); 13 | $response->send(); 14 | -------------------------------------------------------------------------------- /app/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2"], 3 | "plugins": ["transform-runtime"], 4 | "comments": false 5 | } 6 | -------------------------------------------------------------------------------- /app/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /app/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style 4 | extends: 'standard', 5 | // required to lint *.vue files 6 | plugins: [ 7 | 'html' 8 | ], 9 | // add your custom rules here 10 | 'rules': { 11 | // allow paren-less arrow functions 12 | 'arrow-parens': 0, 13 | // allow debugger during development 14 | 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log 5 | selenium-debug.log 6 | test/unit/coverage 7 | test/e2e/reports 8 | -------------------------------------------------------------------------------- /app/README.md: -------------------------------------------------------------------------------- 1 | # phpMongoAdmin 2 | 3 | > A Vue.js project 4 | 5 | ## Build Setup 6 | 7 | ``` bash 8 | # install dependencies 9 | npm install 10 | 11 | # serve with hot reload at localhost:8080 12 | npm run dev 13 | 14 | # build for production with minification 15 | npm run build 16 | ``` 17 | -------------------------------------------------------------------------------- /app/build/build.js: -------------------------------------------------------------------------------- 1 | // https://github.com/shelljs/shelljs 2 | require('shelljs/global') 3 | env.NODE_ENV = 'production' 4 | 5 | var path = require('path') 6 | var config = require('../config') 7 | var ora = require('ora') 8 | var webpack = require('webpack') 9 | var webpackConfig = require('./webpack.prod.conf') 10 | 11 | console.log( 12 | ' Tip:\n' + 13 | ' Built files are meant to be served over an HTTP server.\n' + 14 | ' Opening index.html over file:// won\'t work.\n' 15 | ) 16 | 17 | var spinner = ora('building for production...') 18 | spinner.start() 19 | 20 | var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory) 21 | rm('-rf', assetsPath) 22 | mkdir('-p', assetsPath) 23 | cp('-R', 'static/', assetsPath) 24 | 25 | webpack(webpackConfig, function (err, stats) { 26 | spinner.stop() 27 | if (err) throw err 28 | process.stdout.write(stats.toString({ 29 | colors: true, 30 | modules: false, 31 | children: false, 32 | chunks: false, 33 | chunkModules: false 34 | }) + '\n') 35 | }) 36 | -------------------------------------------------------------------------------- /app/build/dev-client.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | require('eventsource-polyfill') 3 | var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true') 4 | 5 | hotClient.subscribe(function (event) { 6 | if (event.action === 'reload') { 7 | window.location.reload() 8 | } 9 | }) 10 | -------------------------------------------------------------------------------- /app/build/dev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | path=$(dirname $(pwd)) 3 | php -S localhost:8081 -t ${path} 4 | -------------------------------------------------------------------------------- /app/build/webpack.dev.conf.js: -------------------------------------------------------------------------------- 1 | var webpack = require('webpack') 2 | var merge = require('webpack-merge') 3 | var utils = require('./utils') 4 | var baseWebpackConfig = require('./webpack.base.conf') 5 | var HtmlWebpackPlugin = require('html-webpack-plugin') 6 | 7 | // add hot-reload related code to entry chunks 8 | Object.keys(baseWebpackConfig.entry).forEach(function (name) { 9 | baseWebpackConfig.entry[name] = ['./build/dev-client'].concat(baseWebpackConfig.entry[name]) 10 | }) 11 | 12 | module.exports = merge(baseWebpackConfig, { 13 | module: { 14 | loaders: utils.styleLoaders() 15 | }, 16 | // eval-source-map is faster for development 17 | devtool: '#eval-source-map', 18 | plugins: [ 19 | // https://github.com/glenjamin/webpack-hot-middleware#installation--usage 20 | new webpack.optimize.OccurenceOrderPlugin(), 21 | new webpack.HotModuleReplacementPlugin(), 22 | new webpack.NoErrorsPlugin(), 23 | // https://github.com/ampedandwired/html-webpack-plugin 24 | new HtmlWebpackPlugin({ 25 | filename: 'index.html', 26 | template: 'index.html', 27 | inject: true 28 | }) 29 | ] 30 | }) 31 | -------------------------------------------------------------------------------- /app/config.js: -------------------------------------------------------------------------------- 1 | // see http://vuejs-templates.github.io/webpack for documentation. 2 | var path = require('path') 3 | 4 | module.exports = { 5 | build: { 6 | index: path.resolve(__dirname, '../index.html'), 7 | assetsRoot: path.resolve(__dirname, 'dist'), 8 | assetsSubDirectory: 'static', 9 | assetsPublicPath: process.env.NODE_ENV === 'production' ? './app/dist/' : '/', 10 | productionSourceMap: true 11 | }, 12 | dev: { 13 | port: 8080, 14 | proxyTable: { 15 | 'localhost:8080/api' : 'localhost:8081/api' 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PHP Mongo Admin 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/App.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 18 | 19 | 36 | -------------------------------------------------------------------------------- /app/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/app/src/assets/logo.png -------------------------------------------------------------------------------- /app/src/components/Hello.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 20 | 21 | 22 | 27 | -------------------------------------------------------------------------------- /app/src/components/VerticalNav.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 16 | 17 | 18 | 33 | -------------------------------------------------------------------------------- /app/src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App' 3 | 4 | /* eslint-disable no-new */ 5 | new Vue({ 6 | el: 'body', 7 | components: { App } 8 | }) 9 | -------------------------------------------------------------------------------- /app/static/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/app/static/.gitkeep -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "symfony/class-loader": "2.1.*", 4 | "symfony/http-foundation": "2.1.*" 5 | }, 6 | "autoload": { 7 | "psr-4": { 8 | "PhpMongoAdmin\\": "src/" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /config/main.json: -------------------------------------------------------------------------------- 1 | [{"name":"default","dsn":"localhost:27017"}] -------------------------------------------------------------------------------- /config/main.php: -------------------------------------------------------------------------------- 1 | PHP Mongo Admin -------------------------------------------------------------------------------- /src/Base/Component.php: -------------------------------------------------------------------------------- 1 | getParam('config'); 31 | 32 | if (empty($config)) { 33 | throw new InvalidArgumentException('Config is empty'); 34 | } 35 | 36 | $result = file_put_contents(CONFIG_PATH, json_encode($config)); 37 | if (!$result) { 38 | throw new ServerException('Save config failed'); 39 | } 40 | return ['ok' => 1]; 41 | } 42 | 43 | } -------------------------------------------------------------------------------- /src/Exception/BadMethodCallException.php: -------------------------------------------------------------------------------- 1 | register(); 8 | -------------------------------------------------------------------------------- /test.php: -------------------------------------------------------------------------------- 1 | assertEquals('Hello Fabien', $content); 16 | // } 17 | // } 18 | 19 | phpinfo(); -------------------------------------------------------------------------------- /vendor/autoload.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/symfony/http-foundation'), 10 | 'Symfony\\Component\\ClassLoader' => array($vendorDir . '/symfony/class-loader'), 11 | 'SessionHandlerInterface' => array($vendorDir . '/symfony/http-foundation/Symfony/Component/HttpFoundation/Resources/stubs'), 12 | ); 13 | -------------------------------------------------------------------------------- /vendor/composer/autoload_psr4.php: -------------------------------------------------------------------------------- 1 | array($baseDir . '/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | 2.1.0 5 | ----- 6 | 7 | * added a DebugClassLoader able to wrap any autoloader providing a findFile 8 | method 9 | * added a new ApcClassLoader and XcacheClassLoader using composition to wrap 10 | other loaders 11 | * added a new ClassLoader which does not distinguish between namespaced and 12 | pear-like classes (as the PEAR convention is a subset of PSR-0) and 13 | supports using Composer's namespace maps 14 | * added a class map generator 15 | * added support for loading globally-installed PEAR packages 16 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2013 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Apc/Namespaced/Bar.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Apc\Namespaced; 13 | 14 | class Bar 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Apc/Namespaced/Baz.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Apc\Namespaced; 13 | 14 | class Baz 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Apc/Namespaced/Foo.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Apc\Namespaced; 13 | 14 | class Foo 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Apc/Namespaced/FooBar.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Apc\Namespaced; 13 | 14 | class FooBar 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Apc/Pearlike/Bar.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Apc\NamespaceCollision\A; 13 | 14 | class Bar 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Apc/alpha/Apc/NamespaceCollision/A/Foo.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Apc\NamespaceCollision\A; 13 | 14 | class Foo 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Apc/beta/Apc/ApcPrefixCollision/A/B/Bar.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Apc\NamespaceCollision\A\B; 13 | 14 | class Bar 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Apc/beta/Apc/NamespaceCollision/A/B/Foo.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Apc\NamespaceCollision\A\B; 13 | 14 | class Foo 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Apc/fallback/Apc/Pearlike/FooBar.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Apc\Namespaced; 13 | 14 | class FooBar 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/ClassesWithParents/A.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Namespaced; 13 | 14 | class Bar 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Namespaced/Baz.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Namespaced; 13 | 14 | class Baz 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Namespaced/Foo.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Namespaced; 13 | 14 | class Foo 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/Namespaced2/Bar.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace NamespaceCollision\A; 13 | 14 | class Bar 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/alpha/NamespaceCollision/A/Foo.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace NamespaceCollision\A; 13 | 14 | class Foo 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/alpha/NamespaceCollision/C/Bar.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace NamespaceCollision\A\B; 13 | 14 | class Bar 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/beta/NamespaceCollision/A/B/Foo.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace NamespaceCollision\A\B; 13 | 14 | class Foo 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/beta/NamespaceCollision/C/B/Bar.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace ClassMap; 13 | 14 | class SomeClass extends SomeParent implements SomeInterface 15 | { 16 | 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/classmap/SomeInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace ClassMap; 13 | 14 | interface SomeInterface 15 | { 16 | 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/classmap/SomeParent.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace ClassMap; 13 | 14 | abstract class SomeParent 15 | { 16 | 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/classmap/multipleNs.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Foo\Bar; 13 | 14 | class A {} 15 | class B {} 16 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/fallback/Namespaced/FooBar.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Namespaced; 13 | 14 | class FooBar 15 | { 16 | public static $loaded = true; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/Fixtures/fallback/Namespaced2/FooBar.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | spl_autoload_register(function ($class) { 13 | if (0 === strpos(ltrim($class, '/'), 'Symfony\Component\ClassLoader')) { 14 | if (file_exists($file = __DIR__.'/../'.substr(str_replace('\\', '/', $class), strlen('Symfony\Component\ClassLoader')).'.php')) { 15 | require_once $file; 16 | } 17 | } 18 | }); 19 | 20 | if (file_exists($loader = __DIR__.'/../vendor/autoload.php')) { 21 | require_once $loader; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/class-loader", 3 | "type": "library", 4 | "description": "Symfony ClassLoader Component", 5 | "keywords": [], 6 | "homepage": "http://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "http://symfony.com/contributors" 16 | } 17 | ], 18 | "minimum-stability": "dev", 19 | "require": { 20 | "php": ">=5.3.3" 21 | }, 22 | "require-dev": { 23 | "symfony/finder": "2.1.*" 24 | }, 25 | "autoload": { 26 | "psr-0": { "Symfony\\Component\\ClassLoader": "" } 27 | }, 28 | "target-dir": "Symfony/Component/ClassLoader", 29 | "minimum-stability": "dev" 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/class-loader/Symfony/Component/ClassLoader/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./Tests/ 17 | 18 | 19 | 20 | 21 | 22 | ./ 23 | 24 | ./Resources 25 | ./Tests 26 | ./vendor 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | 2.1.0 5 | ----- 6 | 7 | * added IntrospectableContainerInterface (to be able to check if a service 8 | has been initialized or not) 9 | * added ConfigurationExtensionInterface 10 | * added Definition::clearTag() 11 | * component exceptions that inherit base SPL classes are now used exclusively 12 | (this includes dumped containers) 13 | * [BC BREAK] fixed unescaping of class arguments, method 14 | ParameterBag::unescapeValue() was made public 15 | 16 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/CompilerPassInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Compiler; 13 | 14 | use Symfony\Component\DependencyInjection\ContainerBuilder; 15 | 16 | /** 17 | * Interface that must be implemented by compilation passes 18 | * 19 | * @author Johannes M. Schmitt 20 | * 21 | * @api 22 | */ 23 | interface CompilerPassInterface 24 | { 25 | /** 26 | * You can modify the container here before it is dumped to PHP code. 27 | * 28 | * @param ContainerBuilder $container 29 | * 30 | * @api 31 | */ 32 | public function process(ContainerBuilder $container); 33 | } 34 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/RepeatablePassInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Compiler; 13 | 14 | /** 15 | * Interface that must be implemented by passes that are run as part of an 16 | * RepeatedPass. 17 | * 18 | * @author Johannes M. Schmitt 19 | */ 20 | interface RepeatablePassInterface extends CompilerPassInterface 21 | { 22 | /** 23 | * Sets the RepeatedPass interface. 24 | * 25 | * @param RepeatedPass $repeatedPass 26 | */ 27 | public function setRepeatedPass(RepeatedPass $repeatedPass); 28 | } 29 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerAware.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection; 13 | 14 | /** 15 | * A simple implementation of ContainerAwareInterface. 16 | * 17 | * @author Fabien Potencier 18 | * 19 | * @api 20 | */ 21 | abstract class ContainerAware implements ContainerAwareInterface 22 | { 23 | /** 24 | * @var ContainerInterface 25 | * 26 | * @api 27 | */ 28 | protected $container; 29 | 30 | /** 31 | * Sets the Container associated with this Controller. 32 | * 33 | * @param ContainerInterface $container A ContainerInterface instance 34 | * 35 | * @api 36 | */ 37 | public function setContainer(ContainerInterface $container = null) 38 | { 39 | $this->container = $container; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerAwareInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection; 13 | 14 | /** 15 | * ContainerAwareInterface should be implemented by classes that depends on a Container. 16 | * 17 | * @author Fabien Potencier 18 | * 19 | * @api 20 | */ 21 | interface ContainerAwareInterface 22 | { 23 | /** 24 | * Sets the Container. 25 | * 26 | * @param ContainerInterface $container A ContainerInterface instance 27 | * 28 | * @api 29 | */ 30 | public function setContainer(ContainerInterface $container = null); 31 | } 32 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Dumper/Dumper.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Dumper; 13 | 14 | use Symfony\Component\DependencyInjection\ContainerBuilder; 15 | 16 | /** 17 | * Dumper is the abstract class for all built-in dumpers. 18 | * 19 | * @author Fabien Potencier 20 | * 21 | * @api 22 | */ 23 | abstract class Dumper implements DumperInterface 24 | { 25 | protected $container; 26 | 27 | /** 28 | * Constructor. 29 | * 30 | * @param ContainerBuilder $container The service container to dump 31 | * 32 | * @api 33 | */ 34 | public function __construct(ContainerBuilder $container) 35 | { 36 | $this->container = $container; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Dumper/DumperInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Dumper; 13 | 14 | /** 15 | * DumperInterface is the interface implemented by service container dumper classes. 16 | * 17 | * @author Fabien Potencier 18 | * 19 | * @api 20 | */ 21 | interface DumperInterface 22 | { 23 | /** 24 | * Dumps the service container. 25 | * 26 | * @param array $options An array of options 27 | * 28 | * @return string The representation of the service container 29 | * 30 | * @api 31 | */ 32 | public function dump(array $options = array()); 33 | } 34 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/BadMethodCallException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Exception; 13 | 14 | /** 15 | * Base BadMethodCallException for Dependency Injection component. 16 | */ 17 | class BadMethodCallException extends \BadMethodCallException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Exception; 13 | 14 | /** 15 | * Base ExceptionInterface for Dependency Injection component. 16 | * 17 | * @author Fabien Potencier 18 | * @author Bulat Shakirzyanov 19 | */ 20 | interface ExceptionInterface 21 | { 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/InactiveScopeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Exception; 13 | 14 | /** 15 | * This exception is thrown when you try to create a service of an inactive scope. 16 | * 17 | * @author Johannes M. Schmitt 18 | */ 19 | class InactiveScopeException extends RuntimeException 20 | { 21 | private $serviceId; 22 | private $scope; 23 | 24 | public function __construct($serviceId, $scope) 25 | { 26 | parent::__construct(sprintf('You cannot create a service ("%s") of an inactive scope ("%s").', $serviceId, $scope)); 27 | 28 | $this->serviceId = $serviceId; 29 | $this->scope = $scope; 30 | } 31 | 32 | public function getServiceId() 33 | { 34 | return $this->serviceId; 35 | } 36 | 37 | public function getScope() 38 | { 39 | return $this->scope; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Exception; 13 | 14 | /** 15 | * Base InvalidArgumentException for Dependency Injection component. 16 | * 17 | * @author Bulat Shakirzyanov 18 | */ 19 | class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/LogicException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Exception; 13 | 14 | /** 15 | * Base LogicException for Dependency Injection component. 16 | */ 17 | class LogicException extends \LogicException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/OutOfBoundsException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Exception; 13 | 14 | /** 15 | * Base OutOfBoundsException for Dependency Injection component. 16 | */ 17 | class OutOfBoundsException extends \OutOfBoundsException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/ParameterCircularReferenceException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Exception; 13 | 14 | /** 15 | * This exception is thrown when a circular reference in a parameter is detected. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class ParameterCircularReferenceException extends RuntimeException 20 | { 21 | private $parameters; 22 | 23 | public function __construct($parameters) 24 | { 25 | parent::__construct(sprintf('Circular reference detected for parameter "%s" ("%s" > "%s").', $parameters[0], implode('" > "', $parameters), $parameters[0])); 26 | 27 | $this->parameters = $parameters; 28 | } 29 | 30 | public function getParameters() 31 | { 32 | return $this->parameters; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Exception; 13 | 14 | /** 15 | * Base RuntimeException for Dependency Injection component. 16 | * 17 | * @author Johannes M. Schmitt 18 | */ 19 | class RuntimeException extends \RuntimeException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/ServiceCircularReferenceException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Exception; 13 | 14 | /** 15 | * This exception is thrown when a circular reference is detected. 16 | * 17 | * @author Johannes M. Schmitt 18 | */ 19 | class ServiceCircularReferenceException extends RuntimeException 20 | { 21 | private $serviceId; 22 | private $path; 23 | 24 | public function __construct($serviceId, array $path) 25 | { 26 | parent::__construct(sprintf('Circular reference detected for service "%s", path: "%s".', $serviceId, implode(' -> ', $path))); 27 | 28 | $this->serviceId = $serviceId; 29 | $this->path = $path; 30 | } 31 | 32 | public function getServiceId() 33 | { 34 | return $this->serviceId; 35 | } 36 | 37 | public function getPath() 38 | { 39 | return $this->path; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Extension/ConfigurationExtensionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Extension; 13 | 14 | use Symfony\Component\DependencyInjection\ContainerBuilder; 15 | 16 | /** 17 | * ConfigurationExtensionInterface is the interface implemented by container extension classes. 18 | * 19 | * @author Kevin Bond 20 | */ 21 | interface ConfigurationExtensionInterface 22 | { 23 | /** 24 | * Returns extension configuration 25 | * 26 | * @param array $config $config An array of configuration values 27 | * @param ContainerBuilder $container A ContainerBuilder instance 28 | * 29 | * @return ConfigurationInterface|null The configuration or null 30 | */ 31 | public function getConfiguration(array $config, ContainerBuilder $container); 32 | } 33 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection; 13 | 14 | /** 15 | * IntrospectableContainerInterface defines additional introspection functionality 16 | * for containers, allowing logic to be implemented based on a Container's state. 17 | * 18 | * @author Evan Villemez 19 | * 20 | */ 21 | interface IntrospectableContainerInterface extends ContainerInterface 22 | { 23 | /** 24 | * Check for whether or not a service has been initialized. 25 | * 26 | * @param string $id 27 | * 28 | * @return Boolean true if the service has been initialized, false otherwise 29 | * 30 | */ 31 | public function initialized($id); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2013 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Loader/FileLoader.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Loader; 13 | 14 | use Symfony\Component\DependencyInjection\ContainerBuilder; 15 | use Symfony\Component\Config\Loader\FileLoader as BaseFileLoader; 16 | use Symfony\Component\Config\FileLocatorInterface; 17 | 18 | /** 19 | * FileLoader is the abstract class used by all built-in loaders that are file based. 20 | * 21 | * @author Fabien Potencier 22 | */ 23 | abstract class FileLoader extends BaseFileLoader 24 | { 25 | protected $container; 26 | 27 | /** 28 | * Constructor. 29 | * 30 | * @param ContainerBuilder $container A ContainerBuilder instance 31 | * @param FileLocatorInterface $locator A FileLocator instance 32 | */ 33 | public function __construct(ContainerBuilder $container, FileLocatorInterface $locator) 34 | { 35 | $this->container = $container; 36 | 37 | parent::__construct($locator); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Parameter.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection; 13 | 14 | /** 15 | * Parameter represents a parameter reference. 16 | * 17 | * @author Fabien Potencier 18 | * 19 | * @api 20 | */ 21 | class Parameter 22 | { 23 | private $id; 24 | 25 | /** 26 | * Constructor. 27 | * 28 | * @param string $id The parameter key 29 | */ 30 | public function __construct($id) 31 | { 32 | $this->id = $id; 33 | } 34 | 35 | /** 36 | * __toString. 37 | * 38 | * @return string The parameter key 39 | */ 40 | public function __toString() 41 | { 42 | return (string) $this->id; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Scope.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection; 13 | 14 | /** 15 | * Scope class. 16 | * 17 | * @author Johannes M. Schmitt 18 | * 19 | * @api 20 | */ 21 | class Scope implements ScopeInterface 22 | { 23 | private $name; 24 | private $parentName; 25 | 26 | /** 27 | * @api 28 | */ 29 | public function __construct($name, $parentName = ContainerInterface::SCOPE_CONTAINER) 30 | { 31 | $this->name = $name; 32 | $this->parentName = $parentName; 33 | } 34 | 35 | /** 36 | * @api 37 | */ 38 | public function getName() 39 | { 40 | return $this->name; 41 | } 42 | 43 | /** 44 | * @api 45 | */ 46 | public function getParentName() 47 | { 48 | return $this->parentName; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ScopeInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection; 13 | 14 | /** 15 | * Scope Interface. 16 | * 17 | * @author Johannes M. Schmitt 18 | * 19 | * @api 20 | */ 21 | interface ScopeInterface 22 | { 23 | /** 24 | * @api 25 | */ 26 | public function getName(); 27 | 28 | /** 29 | * @api 30 | */ 31 | public function getParentName(); 32 | } 33 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/TaggedContainerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection; 13 | 14 | /** 15 | * TaggedContainerInterface is the interface implemented when a container knows how to deals with tags. 16 | * 17 | * @author Fabien Potencier 18 | * 19 | * @api 20 | */ 21 | interface TaggedContainerInterface extends ContainerInterface 22 | { 23 | /** 24 | * Returns service ids for a given tag. 25 | * 26 | * @param string $name The tag name 27 | * 28 | * @return array An array of tags 29 | * 30 | * @api 31 | */ 32 | public function findTaggedServiceIds($name); 33 | } 34 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container10.php: -------------------------------------------------------------------------------- 1 | 10 | register('foo', 'FooClass')-> 11 | addArgument(new Reference('bar')) 12 | ; 13 | 14 | return $container; 15 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container11.php: -------------------------------------------------------------------------------- 1 | 8 | register('foo', 'FooClass')-> 9 | addArgument(new Definition('BarClass', array(new Definition('BazClass')))) 10 | ; 11 | 12 | return $container; 13 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container12.php: -------------------------------------------------------------------------------- 1 | 8 | register('foo', 'FooClass\\Foo')-> 9 | addArgument('foo<>&bar')-> 10 | addTag('foo"bar\\bar', array('foo' => 'foo"barřž€')) 11 | ; 12 | 13 | return $container; 14 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container13.php: -------------------------------------------------------------------------------- 1 | 8 | register('foo', 'FooClass')-> 9 | addArgument(new Reference('bar')) 10 | ; 11 | $container-> 12 | register('bar', 'BarClass') 13 | ; 14 | $container->compile(); 15 | 16 | return $container; 17 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container14.php: -------------------------------------------------------------------------------- 1 | '%baz%', 8 | 'baz' => 'bar', 9 | 'bar' => 'foo is %%foo bar', 10 | 'escape' => '@escapeme', 11 | 'values' => array(true, false, null, 0, 1000.3, 'true', 'false', 'null'), 12 | ))); 13 | 14 | return $container; 15 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/interfaces1.php: -------------------------------------------------------------------------------- 1 | setParameter('cla', 'Fo'); 8 | $container->setParameter('ss', 'Class'); 9 | 10 | $definition = new Definition('%cla%o%ss%'); 11 | $container->setDefinition('foo', $definition); 12 | 13 | return $container; 14 | 15 | if (!class_exists('FooClass')) { 16 | class FooClass 17 | { 18 | public $bar; 19 | 20 | public function setBar($bar) 21 | { 22 | $this->bar = $bar; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/interfaces2.php: -------------------------------------------------------------------------------- 1 | setDefinition('barFactory', $factoryDefinition); 10 | 11 | $definition = new Definition(); 12 | $definition->setFactoryService('barFactory'); 13 | $definition->setFactoryMethod('createBarClass'); 14 | $container->setDefinition('bar', $definition); 15 | 16 | return $container; 17 | 18 | class BarClass 19 | { 20 | public $foo; 21 | 22 | public function setBar($foo) 23 | { 24 | $this->foo = $foo; 25 | } 26 | } 27 | 28 | class BarClassFactory 29 | { 30 | public function createBarClass() 31 | { 32 | return new BarClass(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/graphviz/services1.dot: -------------------------------------------------------------------------------- 1 | digraph sc { 2 | ratio="compress" 3 | node [fontsize="11" fontname="Arial" shape="record"]; 4 | edge [fontsize="9" fontname="Arial" color="grey" arrowhead="open" arrowsize="0.5"]; 5 | 6 | node_service_container [label="service_container\nSymfony\\Component\\DependencyInjection\\ContainerBuilder\n", shape=record, fillcolor="#9999ff", style="filled"]; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/graphviz/services10-1.dot: -------------------------------------------------------------------------------- 1 | digraph sc { 2 | ratio="normal" 3 | node [fontsize="13" fontname="Verdana" shape="square"]; 4 | edge [fontsize="12" fontname="Verdana" color="white" arrowhead="closed" arrowsize="1"]; 5 | 6 | node_foo [label="foo\nFooClass\n", shape=square, fillcolor="grey", style="filled"]; 7 | node_service_container [label="service_container\nSymfony\\Component\\DependencyInjection\\ContainerBuilder\n", shape=square, fillcolor="green", style="empty"]; 8 | node_bar [label="bar\n\n", shape=square, fillcolor="red", style="empty"]; 9 | node_foo -> node_bar [label="" style="filled"]; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/graphviz/services10.dot: -------------------------------------------------------------------------------- 1 | digraph sc { 2 | ratio="compress" 3 | node [fontsize="11" fontname="Arial" shape="record"]; 4 | edge [fontsize="9" fontname="Arial" color="grey" arrowhead="open" arrowsize="0.5"]; 5 | 6 | node_foo [label="foo\nFooClass\n", shape=record, fillcolor="#eeeeee", style="filled"]; 7 | node_service_container [label="service_container\nSymfony\\Component\\DependencyInjection\\ContainerBuilder\n", shape=record, fillcolor="#9999ff", style="filled"]; 8 | node_bar [label="bar\n\n", shape=record, fillcolor="#ff9999", style="filled"]; 9 | node_foo -> node_bar [label="" style="filled"]; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/graphviz/services13.dot: -------------------------------------------------------------------------------- 1 | digraph sc { 2 | ratio="compress" 3 | node [fontsize="11" fontname="Arial" shape="record"]; 4 | edge [fontsize="9" fontname="Arial" color="grey" arrowhead="open" arrowsize="0.5"]; 5 | 6 | node_foo [label="foo\nFooClass\n", shape=record, fillcolor="#eeeeee", style="filled"]; 7 | node_bar [label="bar\nBarClass\n", shape=record, fillcolor="#eeeeee", style="filled"]; 8 | node_service_container [label="service_container\nSymfony\\Component\\DependencyInjection\\ContainerBuilder\n", shape=record, fillcolor="#9999ff", style="filled"]; 9 | node_foo -> node_bar [label="" style="filled"]; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/graphviz/services14.dot: -------------------------------------------------------------------------------- 1 | digraph sc { 2 | ratio="compress" 3 | node [fontsize="11" fontname="Arial" shape="record"]; 4 | edge [fontsize="9" fontname="Arial" color="grey" arrowhead="open" arrowsize="0.5"]; 5 | 6 | node_service_container [label="service_container\nContainer14\\ProjectServiceContainer\n", shape=record, fillcolor="#9999ff", style="filled"]; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectWithXsdExtension.php: -------------------------------------------------------------------------------- 1 | configure(); 6 | } 7 | 8 | class BarClass 9 | { 10 | protected $baz; 11 | 12 | public function setBaz(BazClass $baz) 13 | { 14 | $this->baz = $baz; 15 | } 16 | } 17 | 18 | class BazClass 19 | { 20 | protected $foo; 21 | 22 | public function setFoo(Foo $foo) 23 | { 24 | $this->foo = $foo; 25 | } 26 | 27 | public function configure($instance) 28 | { 29 | $instance->configure(); 30 | } 31 | 32 | public static function getInstance() 33 | { 34 | return new self(); 35 | } 36 | 37 | public static function configureStatic($instance) 38 | { 39 | $instance->configure(); 40 | } 41 | 42 | public static function configureStatic1() 43 | { 44 | } 45 | } 46 | 47 | class BarUserClass 48 | { 49 | public $bar; 50 | 51 | public function __construct(BarClass $bar) 52 | { 53 | $this->bar = $bar; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/foo.php: -------------------------------------------------------------------------------- 1 | arguments = $arguments; 12 | } 13 | 14 | public static function getInstance($arguments = array()) 15 | { 16 | $obj = new self($arguments); 17 | $obj->called = true; 18 | 19 | return $obj; 20 | } 21 | 22 | public function initialize() 23 | { 24 | $this->initialized = true; 25 | } 26 | 27 | public function configure() 28 | { 29 | $this->configured = true; 30 | } 31 | 32 | public function setBar($value = null) 33 | { 34 | $this->bar = $value; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/schema/project-1.0.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/ini/nonvalid.ini: -------------------------------------------------------------------------------- 1 | {NOT AN INI FILE} 2 | {JUST A PLAIN TEXT FILE} 3 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/ini/parameters.ini: -------------------------------------------------------------------------------- 1 | [parameters] 2 | foo = bar 3 | bar = %foo% 4 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/ini/parameters1.ini: -------------------------------------------------------------------------------- 1 | [parameters] 2 | FOO = foo 3 | baz = baz 4 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/ini/parameters2.ini: -------------------------------------------------------------------------------- 1 | [parameters] 2 | imported_from_ini = true 3 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services1-1.php: -------------------------------------------------------------------------------- 1 | setParameter('foo', 'foo'); 4 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/extension1/services.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/extension2/services.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/extensions/services1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | BAR 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | %project.parameter.foo% 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/extensions/services2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | BAR 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/extensions/services3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | BAR 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/extensions/services4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/extensions/services5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/extensions/services6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/extensions/services7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/nonvalid.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | true 8 | 9 | 10 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | foo 8 | 9 | true 10 | false 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services4_bad_import.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | %baz% 8 | bar 9 | foo is %%foo bar 10 | @escapeme 11 | 12 | true 13 | false 14 | null 15 | 0 16 | 1000.3 17 | true 18 | false 19 | null 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/withdoctype.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/badtag1.yml: -------------------------------------------------------------------------------- 1 | services: 2 | foo_service: 3 | class: FooClass 4 | # tags is not an array 5 | tags: string 6 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/badtag2.yml: -------------------------------------------------------------------------------- 1 | services: 2 | foo_service: 3 | class: FooClass 4 | tags: 5 | # tag is missing the name key 6 | foo_tag: { foo: bar } 7 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/badtag3.yml: -------------------------------------------------------------------------------- 1 | services: 2 | foo_service: 3 | class: FooClass 4 | tags: 5 | # tag-attribute is not a scalar 6 | - { name: foo, foo: { foo: foo, bar: bar } } 7 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/nonvalid1.yml: -------------------------------------------------------------------------------- 1 | foo: 2 | bar 3 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/nonvalid2.yml: -------------------------------------------------------------------------------- 1 | false 2 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services1.yml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services10.yml: -------------------------------------------------------------------------------- 1 | parameters: 2 | project.parameter.foo: BAR 3 | 4 | services: 5 | project.service.foo: 6 | class: BAR 7 | 8 | project: 9 | test: %project.parameter.foo% 10 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services11.yml: -------------------------------------------------------------------------------- 1 | foobarfoobar: {} 2 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services13.yml: -------------------------------------------------------------------------------- 1 | # used to test imports in XML 2 | parameters: 3 | imported_from_yaml: true 4 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services2.yml: -------------------------------------------------------------------------------- 1 | parameters: 2 | FOO: bar 3 | values: 4 | - true 5 | - false 6 | - 0 7 | - 1000.3 8 | bar: foo 9 | escape: @@escapeme 10 | foo_bar: @foo_bar 11 | MixedCase: 12 | MixedCaseKey: value 13 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services3.yml: -------------------------------------------------------------------------------- 1 | parameters: 2 | foo: foo 3 | values: 4 | - true 5 | - false 6 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services4.yml: -------------------------------------------------------------------------------- 1 | imports: 2 | - { resource: services2.yml } 3 | - { resource: services3.yml } 4 | - { resource: "../ini/parameters.ini", class: Symfony\Component\DependencyInjection\Loader\IniFileLoader } 5 | - { resource: "../ini/parameters2.ini" } 6 | - { resource: "../xml/services13.xml" } 7 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services4_bad_import.yml: -------------------------------------------------------------------------------- 1 | imports: 2 | - { resource: foo_fake.yml, ignore_errors: true } 3 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services6.yml: -------------------------------------------------------------------------------- 1 | services: 2 | foo: { class: FooClass } 3 | baz: { class: BazClass } 4 | scope.container: { class: FooClass, scope: container } 5 | scope.custom: { class: FooClass, scope: custom } 6 | scope.prototype: { class: FooClass, scope: prototype } 7 | constructor: { class: FooClass, factory_method: getInstance } 8 | file: { class: FooClass, file: %path%/foo.php } 9 | arguments: { class: FooClass, arguments: [foo, @foo, [true, false]] } 10 | configurator1: { class: FooClass, configurator: sc_configure } 11 | configurator2: { class: FooClass, configurator: [@baz, configure] } 12 | configurator3: { class: FooClass, configurator: [BazClass, configureStatic] } 13 | method_call1: 14 | class: FooClass 15 | calls: 16 | - [ setBar, [] ] 17 | - [ setBar ] 18 | method_call2: 19 | class: FooClass 20 | calls: 21 | - [ setBar, [ foo, @foo, [true, false] ] ] 22 | alias_for_foo: @foo 23 | another_alias_for_foo: 24 | alias: foo 25 | public: false 26 | factory_service: { class: BazClass, factory_method: getInstance, factory_service: baz_factory } 27 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services7.yml: -------------------------------------------------------------------------------- 1 | services: 2 | foo: { class: BarClass } 3 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services8.yml: -------------------------------------------------------------------------------- 1 | parameters: 2 | foo: '%baz%' 3 | baz: bar 4 | bar: 'foo is %%foo bar' 5 | escape: '@@escapeme' 6 | values: [true, false, null, 0, 1000.3, 'true', 'false', 'null'] 7 | 8 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/ParameterTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Tests; 13 | 14 | use Symfony\Component\DependencyInjection\Parameter; 15 | 16 | class ParameterTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * @covers Symfony\Component\DependencyInjection\Parameter::__construct 20 | */ 21 | public function testConstructor() 22 | { 23 | $ref = new Parameter('foo'); 24 | $this->assertEquals('foo', (string) $ref, '__construct() sets the id of the parameter, which is used for the __toString() method'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/ReferenceTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection\Tests; 13 | 14 | use Symfony\Component\DependencyInjection\Reference; 15 | 16 | class ReferenceTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * @covers Symfony\Component\DependencyInjection\Reference::__construct 20 | */ 21 | public function testConstructor() 22 | { 23 | $ref = new Reference('foo'); 24 | $this->assertEquals('foo', (string) $ref, '__construct() sets the id of the reference, which is used for the __toString() method'); 25 | } 26 | 27 | public function testCaseInsensitive() 28 | { 29 | $ref = new Reference('FooBar'); 30 | $this->assertEquals('foobar', (string) $ref, 'the id is lowercased as the container is case insensitive'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | spl_autoload_register(function ($class) { 13 | if (0 === strpos(ltrim($class, '/'), 'Symfony\Component\DependencyInjection')) { 14 | if (file_exists($file = __DIR__.'/../'.substr(str_replace('\\', '/', $class), strlen('Symfony\Component\DependencyInjection')).'.php')) { 15 | require_once $file; 16 | } 17 | } 18 | }); 19 | 20 | if (file_exists($loader = __DIR__.'/../vendor/autoload.php')) { 21 | require_once $loader; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Variable.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\DependencyInjection; 13 | 14 | /** 15 | * Represents a variable. 16 | * 17 | * $var = new Variable('a'); 18 | * 19 | * will be dumped as 20 | * 21 | * $a 22 | * 23 | * by the PHP dumper. 24 | * 25 | * @author Johannes M. Schmitt 26 | */ 27 | class Variable 28 | { 29 | private $name; 30 | 31 | /** 32 | * Constructor 33 | * 34 | * @param string $name 35 | */ 36 | public function __construct($name) 37 | { 38 | $this->name = $name; 39 | } 40 | 41 | /** 42 | * Converts the object to a string 43 | * 44 | * @return string 45 | */ 46 | public function __toString() 47 | { 48 | return $this->name; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/dependency-injection", 3 | "type": "library", 4 | "description": "Symfony DependencyInjection Component", 5 | "keywords": [], 6 | "homepage": "http://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "http://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.3" 20 | }, 21 | "require-dev": { 22 | "symfony/yaml": "2.1.*", 23 | "symfony/config": "2.1.*" 24 | }, 25 | "suggest": { 26 | "symfony/yaml": "2.1.*", 27 | "symfony/config": "2.1.*" 28 | }, 29 | "autoload": { 30 | "psr-0": { "Symfony\\Component\\DependencyInjection": "" } 31 | }, 32 | "target-dir": "Symfony/Component/DependencyInjection", 33 | "minimum-stability": "dev" 34 | } 35 | -------------------------------------------------------------------------------- /vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./Tests/ 17 | 18 | 19 | 20 | 21 | 22 | ./ 23 | 24 | ./Resources 25 | ./Tests 26 | ./vendor 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | -------------------------------------------------------------------------------- /vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | 2.1.0 5 | ----- 6 | 7 | * added TraceableEventDispatcherInterface 8 | * added ContainerAwareEventDispatcher 9 | * added a reference to the EventDispatcher on the Event 10 | * added a reference to the Event name on the event 11 | * added fluid interface to the dispatch() method which now returns the Event 12 | object 13 | * added GenericEvent event class 14 | * added the possibility for subscribers to subscribe several times for the 15 | same event 16 | * added ImmutableEventDispatcher 17 | -------------------------------------------------------------------------------- /vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcherInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\EventDispatcher\Debug; 13 | 14 | /** 15 | * @author Fabien Potencier 16 | */ 17 | interface TraceableEventDispatcherInterface 18 | { 19 | /** 20 | * Gets the called listeners. 21 | * 22 | * @return array An array of called listeners 23 | */ 24 | public function getCalledListeners(); 25 | 26 | /** 27 | * Gets the not called listeners. 28 | * 29 | * @return array An array of not called listeners 30 | */ 31 | public function getNotCalledListeners(); 32 | } 33 | -------------------------------------------------------------------------------- /vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2013 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/README.md: -------------------------------------------------------------------------------- 1 | EventDispatcher Component 2 | ========================= 3 | 4 | EventDispatcher implements a lightweight version of the Observer design 5 | pattern. 6 | 7 | use Symfony\Component\EventDispatcher\EventDispatcher; 8 | use Symfony\Component\EventDispatcher\Event; 9 | 10 | $dispatcher = new EventDispatcher(); 11 | 12 | $dispatcher->addListener('event_name', function (Event $event) { 13 | // ... 14 | }); 15 | 16 | $dispatcher->dispatch('event_name'); 17 | 18 | Resources 19 | --------- 20 | 21 | You can run the unit tests with the following command: 22 | 23 | phpunit 24 | 25 | If you also want to run the unit tests that depend on other Symfony 26 | Components, install dev dependencies before running PHPUnit: 27 | 28 | php composer.phar install --dev 29 | -------------------------------------------------------------------------------- /vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | spl_autoload_register(function ($class) { 13 | if (0 === strpos(ltrim($class, '/'), 'Symfony\Component\EventDispatcher')) { 14 | if (file_exists($file = __DIR__.'/../'.substr(str_replace('\\', '/', $class), strlen('Symfony\Component\EventDispatcher')).'.php')) { 15 | require_once $file; 16 | } 17 | } 18 | }); 19 | 20 | if (file_exists($loader = __DIR__.'/../vendor/autoload.php')) { 21 | require_once $loader; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/event-dispatcher", 3 | "type": "library", 4 | "description": "Symfony EventDispatcher Component", 5 | "keywords": [], 6 | "homepage": "http://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "http://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.3" 20 | }, 21 | "require-dev": { 22 | "symfony/dependency-injection": "2.1.*" 23 | }, 24 | "suggest": { 25 | "symfony/dependency-injection": "2.1.*", 26 | "symfony/http-kernel": "2.1.*" 27 | }, 28 | "autoload": { 29 | "psr-0": { "Symfony\\Component\\EventDispatcher": "" } 30 | }, 31 | "target-dir": "Symfony/Component/EventDispatcher", 32 | "minimum-stability": "dev" 33 | } 34 | -------------------------------------------------------------------------------- /vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./Tests/ 17 | 18 | 19 | 20 | 21 | 22 | ./ 23 | 24 | ./Resources 25 | ./Tests 26 | ./vendor 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/ApacheRequest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation; 13 | 14 | /** 15 | * Request represents an HTTP request from an Apache server. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class ApacheRequest extends Request 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | protected function prepareRequestUri() 25 | { 26 | return $this->server->get('REQUEST_URI'); 27 | } 28 | 29 | /** 30 | * {@inheritdoc} 31 | */ 32 | protected function prepareBaseUrl() 33 | { 34 | $baseUrl = $this->server->get('SCRIPT_NAME'); 35 | 36 | if (false === strpos($this->server->get('REQUEST_URI'), $baseUrl)) { 37 | // assume mod_rewrite 38 | return rtrim(dirname($baseUrl), '/\\'); 39 | } 40 | 41 | return $baseUrl; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/Exception/AccessDeniedException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when the access on a file was denied. 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class AccessDeniedException extends FileException 20 | { 21 | /** 22 | * Constructor. 23 | * 24 | * @param string $path The path to the accessed file 25 | */ 26 | public function __construct($path) 27 | { 28 | parent::__construct(sprintf('The file %s could not be accessed', $path)); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/Exception/FileException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an error occurred in the component File 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class FileException extends \RuntimeException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/Exception/FileNotFoundException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when a file was not found 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class FileNotFoundException extends FileException 20 | { 21 | /** 22 | * Constructor. 23 | * 24 | * @param string $path The path to the file that was not found 25 | */ 26 | public function __construct($path) 27 | { 28 | parent::__construct(sprintf('The file "%s" does not exist', $path)); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/Exception/UnexpectedTypeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | class UnexpectedTypeException extends FileException 15 | { 16 | public function __construct($value, $expectedType) 17 | { 18 | parent::__construct(sprintf('Expected argument of type %s, %s given', $expectedType, is_object($value) ? get_class($value) : gettype($value))); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/Exception/UploadException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an error occurred during file upload 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class UploadException extends FileException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesserInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\MimeType; 13 | 14 | /** 15 | * Guesses the file extension corresponding to a given mime type 16 | */ 17 | interface ExtensionGuesserInterface 18 | { 19 | /** 20 | * Makes a best guess for a file extension, given a mime type 21 | * 22 | * @param string $mimeType The mime type 23 | * @return string The guessed extension or NULL, if none could be guessed 24 | */ 25 | public function guess($mimeType); 26 | } 27 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesserInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\MimeType; 13 | 14 | use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException; 15 | use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException; 16 | 17 | /** 18 | * Guesses the mime type of a file 19 | * 20 | * @author Bernhard Schussek 21 | */ 22 | interface MimeTypeGuesserInterface 23 | { 24 | /** 25 | * Guesses the mime type of the file with the given path. 26 | * 27 | * @param string $path The path to the file 28 | * 29 | * @return string The mime type or NULL, if none could be guessed 30 | * 31 | * @throws FileNotFoundException If the file does not exist 32 | * @throws AccessDeniedException If the file could not be read 33 | */ 34 | public function guess($path); 35 | } 36 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2013 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RequestMatcherInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation; 13 | 14 | /** 15 | * RequestMatcherInterface is an interface for strategies to match a Request. 16 | * 17 | * @author Fabien Potencier 18 | * 19 | * @api 20 | */ 21 | interface RequestMatcherInterface 22 | { 23 | /** 24 | * Decides whether the rule(s) implemented by the strategy matches the supplied request. 25 | * 26 | * @param Request $request The request to check for a match 27 | * 28 | * @return Boolean true if the request matches, false otherwise 29 | * 30 | * @api 31 | */ 32 | public function matches(Request $request); 33 | } 34 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/SessionBagInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Session; 13 | 14 | /** 15 | * Session Bag store. 16 | * 17 | * @author Drak 18 | */ 19 | interface SessionBagInterface 20 | { 21 | /** 22 | * Gets this bag's name 23 | * 24 | * @return string 25 | */ 26 | public function getName(); 27 | 28 | /** 29 | * Initializes the Bag 30 | * 31 | * @param array $array 32 | */ 33 | public function initialize(array &$array); 34 | 35 | /** 36 | * Gets the storage key for this bag. 37 | * 38 | * @return string 39 | */ 40 | public function getStorageKey(); 41 | 42 | /** 43 | * Clears out data from bag. 44 | * 45 | * @return mixed Whatever data was contained. 46 | */ 47 | public function clear(); 48 | } 49 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeSessionHandler.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Session\Storage\Handler; 13 | 14 | /** 15 | * Adds SessionHandler functionality if available. 16 | * 17 | * @see http://php.net/sessionhandler 18 | */ 19 | 20 | if (version_compare(phpversion(), '5.4.0', '>=')) { 21 | class NativeSessionHandler extends \SessionHandler {} 22 | } else { 23 | class NativeSessionHandler {} 24 | } 25 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Proxy/NativeProxy.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Session\Storage\Proxy; 13 | 14 | /** 15 | * NativeProxy. 16 | * 17 | * This proxy is built-in session handlers in PHP 5.3.x 18 | * 19 | * @author Drak 20 | */ 21 | class NativeProxy extends AbstractProxy 22 | { 23 | /** 24 | * Constructor. 25 | */ 26 | public function __construct() 27 | { 28 | // this makes an educated guess as to what the handler is since it should already be set. 29 | $this->saveHandlerName = ini_get('session.save_handler'); 30 | } 31 | 32 | /** 33 | * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. 34 | * 35 | * @return Boolean False. 36 | */ 37 | public function isWrapper() 38 | { 39 | return false; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/File/Fixtures/.unknownextension: -------------------------------------------------------------------------------- 1 | f -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/File/Fixtures/directory/.empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/File/Fixtures/directory/.empty -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/File/Fixtures/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/File/Fixtures/test -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/File/Fixtures/test.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/File/Fixtures/test.gif -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/NativeProxyTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy; 13 | 14 | use Symfony\Component\HttpFoundation\Session\Storage\Proxy\NativeProxy; 15 | 16 | /** 17 | * Test class for NativeProxy. 18 | * 19 | * @author Drak 20 | */ 21 | class NativeProxyTest extends \PHPUnit_Framework_TestCase 22 | { 23 | public function testIsWrapper() 24 | { 25 | $proxy = new NativeProxy(); 26 | $this->assertFalse($proxy->isWrapper()); 27 | } 28 | 29 | public function testGetSaveHandlerName() 30 | { 31 | $name = ini_get('session.save_handler'); 32 | $proxy = new NativeProxy(); 33 | $this->assertEquals($name, $proxy->getSaveHandlerName()); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | spl_autoload_register(function ($class) { 13 | if (ltrim('SessionHandlerInterface', '/') === $class) { 14 | require_once __DIR__.'/../Resources/stubs/SessionHandlerInterface.php'; 15 | } 16 | 17 | if (0 !== strpos(ltrim($class, '/'), 'Symfony\Component\HttpFoundation')) { 18 | return; 19 | } 20 | 21 | require_once __DIR__.'/../'.substr(str_replace('\\', '/', $class), strlen('Symfony\Component\HttpFoundation')).'.php'; 22 | }); 23 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/http-foundation", 3 | "type": "library", 4 | "description": "Symfony HttpFoundation Component", 5 | "keywords": [], 6 | "homepage": "http://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "http://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.3" 20 | }, 21 | "autoload": { 22 | "psr-0": { 23 | "Symfony\\Component\\HttpFoundation": "", 24 | "SessionHandlerInterface": "Symfony/Component/HttpFoundation/Resources/stubs" 25 | } 26 | }, 27 | "target-dir": "Symfony/Component/HttpFoundation", 28 | "minimum-stability": "dev" 29 | } 30 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./Tests/ 17 | 18 | 19 | 20 | 21 | 22 | ./ 23 | 24 | ./Resources 25 | ./Tests 26 | ./vendor 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | 2.1.0 5 | ----- 6 | 7 | * [BC BREAK] the charset is now configured via the Kernel::getCharset() method 8 | * [BC BREAK] the current locale for the user is not stored anymore in the session 9 | * added the HTTP method to the profiler storage 10 | * updated all listeners to implement EventSubscriberInterface 11 | * added TimeDataCollector 12 | * added ContainerAwareTraceableEventDispatcher 13 | * moved TraceableEventDispatcherInterface to the EventDispatcher component 14 | * added RouterListener, LocaleListener, and StreamedResponseListener 15 | * added CacheClearerInterface (and ChainCacheClearer) 16 | * added a kernel.terminate event (via TerminableInterface and PostResponseEvent) 17 | * added a Stopwatch class 18 | * added WarmableInterface 19 | * improved extensibility between bundles 20 | * added profiler storages for Memcache(d), File-based, MongoDB, Redis 21 | * moved Filesystem class to its own component 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/CacheClearer/CacheClearerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\CacheClearer; 13 | 14 | /** 15 | * CacheClearerInterface. 16 | * 17 | * @author Dustin Dobervich 18 | */ 19 | interface CacheClearerInterface 20 | { 21 | /** 22 | * Clears any caches necessary. 23 | * 24 | * @param string $cacheDir The cache directory. 25 | */ 26 | public function clear($cacheDir); 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmer.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\CacheWarmer; 13 | 14 | /** 15 | * Abstract cache warmer that knows how to write a file to the cache. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | abstract class CacheWarmer implements CacheWarmerInterface 20 | { 21 | protected function writeCacheFile($file, $content) 22 | { 23 | $tmpFile = tempnam(dirname($file), basename($file)); 24 | if (false !== @file_put_contents($tmpFile, $content) && @rename($tmpFile, $file)) { 25 | @chmod($file, 0666 & ~umask()); 26 | 27 | return; 28 | } 29 | 30 | throw new \RuntimeException(sprintf('Failed to write cache file "%s".', $file)); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\CacheWarmer; 13 | 14 | /** 15 | * Interface for classes able to warm up the cache. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface CacheWarmerInterface extends WarmableInterface 20 | { 21 | /** 22 | * Checks whether this warmer is optional or not. 23 | * 24 | * Optional warmers can be ignored on certain conditions. 25 | * 26 | * A warmer should return true if the cache can be 27 | * generated incrementally and on-demand. 28 | * 29 | * @return Boolean true if the warmer is optional, false otherwise 30 | */ 31 | public function isOptional(); 32 | } 33 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/CacheWarmer/WarmableInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\CacheWarmer; 13 | 14 | /** 15 | * Interface for classes that support warming their cache. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface WarmableInterface 20 | { 21 | /** 22 | * Warms up the cache. 23 | * 24 | * @param string $cacheDir The cache directory 25 | */ 26 | public function warmUp($cacheDir); 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\DataCollector; 13 | 14 | use Symfony\Component\HttpFoundation\Request; 15 | use Symfony\Component\HttpFoundation\Response; 16 | 17 | /** 18 | * DataCollectorInterface. 19 | * 20 | * @author Fabien Potencier 21 | * 22 | * @api 23 | */ 24 | interface DataCollectorInterface 25 | { 26 | /** 27 | * Collects data for the given Request and Response. 28 | * 29 | * @param Request $request A Request instance 30 | * @param Response $response A Response instance 31 | * @param \Exception $exception An Exception instance 32 | * 33 | * @api 34 | */ 35 | public function collect(Request $request, Response $response, \Exception $exception = null); 36 | 37 | /** 38 | * Returns the name of the collector. 39 | * 40 | * @return string The collector name 41 | * 42 | * @api 43 | */ 44 | public function getName(); 45 | } 46 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/AccessDeniedHttpException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Exception; 13 | 14 | /** 15 | * AccessDeniedHttpException. 16 | * 17 | * @author Fabien Potencier 18 | * @author Christophe Coevoet 19 | */ 20 | class AccessDeniedHttpException extends HttpException 21 | { 22 | /** 23 | * Constructor. 24 | * 25 | * @param string $message The internal exception message 26 | * @param \Exception $previous The previous exception 27 | * @param integer $code The internal exception code 28 | */ 29 | public function __construct($message = null, \Exception $previous = null, $code = 0) 30 | { 31 | parent::__construct(403, $message, $previous, array(), $code); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/HttpException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Exception; 13 | 14 | /** 15 | * HttpException. 16 | * 17 | * @author Kris Wallsmith 18 | */ 19 | class HttpException extends \RuntimeException implements HttpExceptionInterface 20 | { 21 | private $statusCode; 22 | private $headers; 23 | 24 | public function __construct($statusCode, $message = null, \Exception $previous = null, array $headers = array(), $code = 0) 25 | { 26 | $this->statusCode = $statusCode; 27 | $this->headers = $headers; 28 | 29 | parent::__construct($message, $code, $previous); 30 | } 31 | 32 | public function getStatusCode() 33 | { 34 | return $this->statusCode; 35 | } 36 | 37 | public function getHeaders() 38 | { 39 | return $this->headers; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/HttpExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Exception; 13 | 14 | /** 15 | * Interface for HTTP error exceptions. 16 | * 17 | * @author Kris Wallsmith 18 | */ 19 | interface HttpExceptionInterface 20 | { 21 | /** 22 | * Returns the status code. 23 | * 24 | * @return integer An HTTP response status code 25 | */ 26 | public function getStatusCode(); 27 | 28 | /** 29 | * Returns response headers. 30 | * 31 | * @return array Response headers 32 | */ 33 | public function getHeaders(); 34 | } 35 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/MethodNotAllowedHttpException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Exception; 13 | 14 | /** 15 | * MethodNotAllowedHttpException. 16 | * 17 | * @author Kris Wallsmith 18 | */ 19 | class MethodNotAllowedHttpException extends HttpException 20 | { 21 | /** 22 | * Constructor. 23 | * 24 | * @param array $allow An array of allowed methods 25 | * @param string $message The internal exception message 26 | * @param \Exception $previous The previous exception 27 | * @param integer $code The internal exception code 28 | */ 29 | public function __construct(array $allow, $message = null, \Exception $previous = null, $code = 0) 30 | { 31 | $headers = array('Allow' => strtoupper(implode(', ', $allow))); 32 | 33 | parent::__construct(405, $message, $previous, $headers, $code); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/NotFoundHttpException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Exception; 13 | 14 | /** 15 | * NotFoundHttpException. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class NotFoundHttpException extends HttpException 20 | { 21 | /** 22 | * Constructor. 23 | * 24 | * @param string $message The internal exception message 25 | * @param \Exception $previous The previous exception 26 | * @param integer $code The internal exception code 27 | */ 28 | public function __construct($message = null, \Exception $previous = null, $code = 0) 29 | { 30 | parent::__construct(404, $message, $previous, array(), $code); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2013 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/DebugLoggerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Log; 13 | 14 | /** 15 | * DebugLoggerInterface. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface DebugLoggerInterface 20 | { 21 | /** 22 | * Returns an array of logs. 23 | * 24 | * A log is an array with the following mandatory keys: 25 | * timestamp, message, priority, and priorityName. 26 | * It can also have an optional context key containing an array. 27 | * 28 | * @return array An array of logs 29 | */ 30 | public function getLogs(); 31 | 32 | /** 33 | * Returns the number of errors. 34 | * 35 | * @return integer The number of errors 36 | */ 37 | public function countErrors(); 38 | } 39 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/TerminableInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel; 13 | 14 | use Symfony\Component\HttpFoundation\Request; 15 | use Symfony\Component\HttpFoundation\Response; 16 | 17 | /** 18 | * Terminable extends the Kernel request/response cycle with dispatching a post 19 | * response event after sending the response and before shutting down the kernel. 20 | * 21 | * @author Jordi Boggiano 22 | * @author Pierre Minnieur 23 | * 24 | * @api 25 | */ 26 | interface TerminableInterface 27 | { 28 | /** 29 | * Terminates a request/response cycle. 30 | * 31 | * Should be called after sending the response and before shutting down the kernel. 32 | * 33 | * @param Request $request A Request instance 34 | * @param Response $response A Response instance 35 | * 36 | * @api 37 | */ 38 | public function terminate(Request $request, Response $response); 39 | } 40 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/DataCollector/MemoryDataCollectorTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\DataCollector; 13 | 14 | use Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector; 15 | use Symfony\Component\HttpFoundation\Request; 16 | use Symfony\Component\HttpFoundation\Response; 17 | 18 | class MemoryDataCollectorTest extends \PHPUnit_Framework_TestCase 19 | { 20 | protected function setUp() 21 | { 22 | if (!class_exists('Symfony\Component\HttpFoundation\Request')) { 23 | $this->markTestSkipped('The "HttpFoundation" component is not available'); 24 | } 25 | } 26 | 27 | public function testCollect() 28 | { 29 | $c = new MemoryDataCollector(); 30 | 31 | $c->collect(new Request(), new Response()); 32 | 33 | $this->assertInternalType('integer',$c->getMemory()); 34 | $this->assertSame('memory',$c->getName()); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/BaseBundle/Resources/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/BaseBundle/Resources/foo.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/BaseBundle/Resources/hide.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/BaseBundle/Resources/hide.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Bundle1Bundle/Resources/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Bundle1Bundle/Resources/foo.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Bundle1Bundle/bar.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Bundle1Bundle/bar.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Bundle1Bundle/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Bundle1Bundle/foo.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Bundle2Bundle/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Bundle2Bundle/foo.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/ChildBundle/Resources/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/ChildBundle/Resources/foo.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/ChildBundle/Resources/hide.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/ChildBundle/Resources/hide.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/ExtensionAbsentBundle/ExtensionAbsentBundle.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionAbsentBundle; 13 | 14 | use Symfony\Component\HttpKernel\Bundle\Bundle; 15 | 16 | class ExtensionAbsentBundle extends Bundle 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/ExtensionLoadedBundle/DependencyInjection/ExtensionLoadedExtension.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionLoadedBundle\DependencyInjection; 13 | 14 | use Symfony\Component\DependencyInjection\ContainerBuilder; 15 | use Symfony\Component\HttpKernel\DependencyInjection\Extension; 16 | 17 | class ExtensionLoadedExtension extends Extension 18 | { 19 | public function load(array $configs, ContainerBuilder $container) 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/ExtensionLoadedBundle/ExtensionLoadedBundle.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionLoadedBundle; 13 | 14 | use Symfony\Component\HttpKernel\Bundle\Bundle; 15 | 16 | class ExtensionLoadedBundle extends Bundle 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/ExtensionPresentBundle/Command/FooCommand.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\Command; 13 | 14 | use Symfony\Component\Console\Command\Command; 15 | 16 | class FooCommand extends Command 17 | { 18 | protected function configure() 19 | { 20 | $this->setName('foo'); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/ExtensionPresentBundle/DependencyInjection/ExtensionPresentExtension.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\DependencyInjection; 13 | 14 | use Symfony\Component\DependencyInjection\ContainerBuilder; 15 | use Symfony\Component\HttpKernel\DependencyInjection\Extension; 16 | 17 | class ExtensionPresentExtension extends Extension 18 | { 19 | public function load(array $configs, ContainerBuilder $container) 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/ExtensionPresentBundle/ExtensionPresentBundle.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle; 13 | 14 | use Symfony\Component\HttpKernel\Bundle\Bundle; 15 | 16 | class ExtensionPresentBundle extends Bundle 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/FooBarBundle.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures; 13 | 14 | use Symfony\Component\HttpKernel\Bundle\Bundle; 15 | 16 | class FooBarBundle extends Bundle 17 | { 18 | // We need a full namespaced bundle instance to test isClassInActiveBundle 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/KernelForOverrideName.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures; 13 | 14 | use Symfony\Component\HttpKernel\Kernel; 15 | use Symfony\Component\Config\Loader\LoaderInterface; 16 | 17 | class KernelForOverrideName extends Kernel 18 | { 19 | protected $name = 'overridden'; 20 | 21 | public function registerBundles() 22 | { 23 | 24 | } 25 | 26 | public function registerContainerConfiguration(LoaderInterface $loader) 27 | { 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/KernelForTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures; 13 | 14 | use Symfony\Component\HttpKernel\Kernel; 15 | use Symfony\Component\Config\Loader\LoaderInterface; 16 | 17 | class KernelForTest extends Kernel 18 | { 19 | public function getBundleMap() 20 | { 21 | return $this->bundleMap; 22 | } 23 | 24 | public function registerBundles() 25 | { 26 | } 27 | 28 | public function init() 29 | { 30 | } 31 | 32 | public function registerBundleDirs() 33 | { 34 | } 35 | 36 | public function registerContainerConfiguration(LoaderInterface $loader) 37 | { 38 | } 39 | 40 | public function initializeBundles() 41 | { 42 | parent::initializeBundles(); 43 | } 44 | 45 | public function isBooted() 46 | { 47 | return $this->booted; 48 | } 49 | 50 | public function setIsBooted($value) 51 | { 52 | $this->booted = (Boolean) $value; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Resources/BaseBundle/hide.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Resources/BaseBundle/hide.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Resources/Bundle1Bundle/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Resources/Bundle1Bundle/foo.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Resources/ChildBundle/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Resources/ChildBundle/foo.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Resources/FooBundle/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/Resources/FooBundle/foo.txt -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/TestClient.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures; 13 | 14 | use Symfony\Component\HttpKernel\Client; 15 | 16 | class TestClient extends Client 17 | { 18 | protected function getScript($request) 19 | { 20 | $script = parent::getScript($request); 21 | 22 | $script = preg_replace('/(\->register\(\);)/', "$0\nrequire_once '".__DIR__."/../bootstrap.php';", $script); 23 | 24 | return $script; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/TestEventDispatcher.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpKernel\Tests\Fixtures; 13 | 14 | use Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcherInterface; 15 | use Symfony\Component\EventDispatcher\EventDispatcher; 16 | 17 | class TestEventDispatcher extends EventDispatcher implements TraceableEventDispatcherInterface 18 | { 19 | public function getCalledListeners() 20 | { 21 | return array('foo'); 22 | } 23 | 24 | public function getNotCalledListeners() 25 | { 26 | return array('bar'); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | spl_autoload_register(function ($class) { 13 | if (0 === strpos(ltrim($class, '/'), 'Symfony\Component\HttpKernel')) { 14 | if (file_exists($file = __DIR__.'/../'.substr(str_replace('\\', '/', $class), strlen('Symfony\Component\HttpKernel')).'.php')) { 15 | require_once $file; 16 | } 17 | } 18 | }); 19 | 20 | if (file_exists($loader = __DIR__.'/../vendor/autoload.php')) { 21 | require_once $loader; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/http-kernel/Symfony/Component/HttpKernel/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./Tests/ 17 | 18 | 19 | 20 | 21 | 22 | ./ 23 | 24 | ./Tests 25 | ./vendor 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | 2.1.0 5 | ----- 6 | 7 | * added RequestMatcherInterface 8 | * added RequestContext::fromRequest() 9 | * the UrlMatcher does not throw a \LogicException anymore when the required 10 | scheme is not the current one 11 | * added TraceableUrlMatcher 12 | * added the possibility to define options, default values and requirements 13 | for placeholders in prefix, including imported routes 14 | * added RouterInterface::getRouteCollection 15 | * [BC BREAK] the UrlMatcher urldecodes the route parameters only once, they 16 | were decoded twice before. Note that the `urldecode()` calls have been 17 | changed for a single `rawurldecode()` in order to support `+` for input 18 | paths. 19 | * added RouteCollection::getRoot method to retrieve the root of a 20 | RouteCollection tree 21 | * [BC BREAK] made RouteCollection::setParent private which could not have 22 | been used anyway without creating inconsistencies 23 | * [BC BREAK] RouteCollection::remove also removes a route from parent 24 | collections (not only from its children) 25 | * added strict_requirements option to disable exceptions (and generate empty 26 | URLs instead) when generating a route with an invalid parameter value 27 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * ExceptionInterface 16 | * 17 | * @author Alexandre Salomé 18 | * 19 | * @api 20 | */ 21 | interface ExceptionInterface 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Exception/InvalidParameterException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * Exception thrown when a parameter is not valid 16 | * 17 | * @author Alexandre Salomé 18 | * 19 | * @api 20 | */ 21 | class InvalidParameterException extends \InvalidArgumentException implements ExceptionInterface 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Exception/MethodNotAllowedException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * The resource was found but the request method is not allowed. 16 | * 17 | * This exception should trigger an HTTP 405 response in your application code. 18 | * 19 | * @author Kris Wallsmith 20 | * 21 | * @api 22 | */ 23 | class MethodNotAllowedException extends \RuntimeException implements ExceptionInterface 24 | { 25 | protected $allowedMethods; 26 | 27 | public function __construct(array $allowedMethods, $message = null, $code = 0, \Exception $previous = null) 28 | { 29 | $this->allowedMethods = array_map('strtoupper', $allowedMethods); 30 | 31 | parent::__construct($message, $code, $previous); 32 | } 33 | 34 | public function getAllowedMethods() 35 | { 36 | return $this->allowedMethods; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Exception/MissingMandatoryParametersException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * Exception thrown when a route cannot be generated because of missing 16 | * mandatory parameters. 17 | * 18 | * @author Alexandre Salomé 19 | * 20 | * @api 21 | */ 22 | class MissingMandatoryParametersException extends \InvalidArgumentException implements ExceptionInterface 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Exception/ResourceNotFoundException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * The resource was not found. 16 | * 17 | * This exception should trigger an HTTP 404 response in your application code. 18 | * 19 | * @author Kris Wallsmith 20 | * 21 | * @api 22 | */ 23 | class ResourceNotFoundException extends \RuntimeException implements ExceptionInterface 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Exception/RouteNotFoundException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * Exception thrown when a route does not exists 16 | * 17 | * @author Alexandre Salomé 18 | * 19 | * @api 20 | */ 21 | class RouteNotFoundException extends \InvalidArgumentException implements ExceptionInterface 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Generator/ConfigurableRequirementsInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Generator; 13 | 14 | /** 15 | * ConfigurableRequirementsInterface must be implemented by URL generators in order 16 | * to be able to configure whether an exception should be generated when the 17 | * parameters do not match the requirements. 18 | * 19 | * @author Fabien Potencier 20 | */ 21 | interface ConfigurableRequirementsInterface 22 | { 23 | /** 24 | * Enables or disables the exception on incorrect parameters. 25 | * 26 | * @param Boolean $enabled 27 | */ 28 | public function setStrictRequirements($enabled); 29 | 30 | /** 31 | * Gets the strict check of incorrect parameters. 32 | * 33 | * @return Boolean 34 | */ 35 | public function isStrictRequirements(); 36 | } 37 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Generator/Dumper/GeneratorDumper.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Generator\Dumper; 13 | 14 | use Symfony\Component\Routing\RouteCollection; 15 | 16 | /** 17 | * GeneratorDumper is the base class for all built-in generator dumpers. 18 | * 19 | * @author Fabien Potencier 20 | */ 21 | abstract class GeneratorDumper implements GeneratorDumperInterface 22 | { 23 | private $routes; 24 | 25 | /** 26 | * Constructor. 27 | * 28 | * @param RouteCollection $routes The RouteCollection to dump 29 | */ 30 | public function __construct(RouteCollection $routes) 31 | { 32 | $this->routes = $routes; 33 | } 34 | 35 | /** 36 | * {@inheritdoc} 37 | */ 38 | public function getRoutes() 39 | { 40 | return $this->routes; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Generator/Dumper/GeneratorDumperInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Generator\Dumper; 13 | 14 | use Symfony\Component\Routing\RouteCollection; 15 | 16 | /** 17 | * GeneratorDumperInterface is the interface that all generator dumper classes must implement. 18 | * 19 | * @author Fabien Potencier 20 | * 21 | * @api 22 | */ 23 | interface GeneratorDumperInterface 24 | { 25 | /** 26 | * Dumps a set of routes to a string representation of executable code 27 | * that can then be used to generate a URL of such a route. 28 | * 29 | * @param array $options An array of options 30 | * 31 | * @return string Executable code 32 | */ 33 | public function dump(array $options = array()); 34 | 35 | /** 36 | * Gets the routes to dump. 37 | * 38 | * @return RouteCollection A RouteCollection instance 39 | */ 40 | public function getRoutes(); 41 | } 42 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2013 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Loader/ClosureLoader.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Loader; 13 | 14 | use Symfony\Component\Config\Loader\Loader; 15 | 16 | /** 17 | * ClosureLoader loads routes from a PHP closure. 18 | * 19 | * The Closure must return a RouteCollection instance. 20 | * 21 | * @author Fabien Potencier 22 | * 23 | * @api 24 | */ 25 | class ClosureLoader extends Loader 26 | { 27 | /** 28 | * Loads a Closure. 29 | * 30 | * @param \Closure $closure A Closure 31 | * @param string $type The resource type 32 | * 33 | * @api 34 | */ 35 | public function load($closure, $type = null) 36 | { 37 | return call_user_func($closure); 38 | } 39 | 40 | /** 41 | * {@inheritdoc} 42 | * 43 | * @api 44 | */ 45 | public function supports($resource, $type = null) 46 | { 47 | return $resource instanceof \Closure && (!$type || 'closure' === $type); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/MatcherDumper.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Matcher\Dumper; 13 | 14 | use Symfony\Component\Routing\RouteCollection; 15 | 16 | /** 17 | * MatcherDumper is the abstract class for all built-in matcher dumpers. 18 | * 19 | * @author Fabien Potencier 20 | */ 21 | abstract class MatcherDumper implements MatcherDumperInterface 22 | { 23 | private $routes; 24 | 25 | /** 26 | * Constructor. 27 | * 28 | * @param RouteCollection $routes The RouteCollection to dump 29 | */ 30 | public function __construct(RouteCollection $routes) 31 | { 32 | $this->routes = $routes; 33 | } 34 | 35 | /** 36 | * {@inheritdoc} 37 | */ 38 | public function getRoutes() 39 | { 40 | return $this->routes; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/MatcherDumperInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Matcher\Dumper; 13 | 14 | /** 15 | * MatcherDumperInterface is the interface that all matcher dumper classes must implement. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface MatcherDumperInterface 20 | { 21 | /** 22 | * Dumps a set of routes to a string representation of executable code 23 | * that can then be used to match a request against these routes. 24 | * 25 | * @param array $options An array of options 26 | * 27 | * @return string Executable code 28 | */ 29 | public function dump(array $options = array()); 30 | 31 | /** 32 | * Gets the routes to dump. 33 | * 34 | * @return RouteCollection A RouteCollection instance 35 | */ 36 | public function getRoutes(); 37 | } 38 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Matcher/RedirectableUrlMatcherInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Matcher; 13 | 14 | /** 15 | * RedirectableUrlMatcherInterface knows how to redirect the user. 16 | * 17 | * @author Fabien Potencier 18 | * 19 | * @api 20 | */ 21 | interface RedirectableUrlMatcherInterface 22 | { 23 | /** 24 | * Redirects the user to another URL. 25 | * 26 | * @param string $path The path info to redirect to. 27 | * @param string $route The route that matched 28 | * @param string $scheme The URL scheme (null to keep the current one) 29 | * 30 | * @return array An array of parameters 31 | * 32 | * @api 33 | */ 34 | public function redirect($path, $route, $scheme = null); 35 | } 36 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/README.md: -------------------------------------------------------------------------------- 1 | Routing Component 2 | ================= 3 | 4 | Routing associates a request with the code that will convert it to a response. 5 | 6 | The example below demonstrates how you can set up a fully working routing 7 | system: 8 | 9 | use Symfony\Component\HttpFoundation\Request; 10 | use Symfony\Component\Routing\Matcher\UrlMatcher; 11 | use Symfony\Component\Routing\RequestContext; 12 | use Symfony\Component\Routing\RouteCollection; 13 | use Symfony\Component\Routing\Route; 14 | 15 | $routes = new RouteCollection(); 16 | $routes->add('hello', new Route('/hello', array('controller' => 'foo'))); 17 | 18 | $context = new RequestContext(); 19 | 20 | // this is optional and can be done without a Request instance 21 | $context->fromRequest(Request::createFromGlobals()); 22 | 23 | $matcher = new UrlMatcher($routes, $context); 24 | 25 | $parameters = $matcher->match('/hello'); 26 | 27 | Resources 28 | --------- 29 | 30 | You can run the unit tests with the following command: 31 | 32 | phpunit 33 | 34 | If you also want to run the unit tests that depend on other Symfony 35 | Components, install dev dependencies before running PHPUnit: 36 | 37 | php composer.phar install --dev 38 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/RequestContextAwareInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing; 13 | 14 | /** 15 | * @api 16 | */ 17 | interface RequestContextAwareInterface 18 | { 19 | /** 20 | * Sets the request context. 21 | * 22 | * @param RequestContext $context The context 23 | * 24 | * @api 25 | */ 26 | public function setContext(RequestContext $context); 27 | 28 | /** 29 | * Gets the request context. 30 | * 31 | * @return RequestContext The context 32 | * 33 | * @api 34 | */ 35 | public function getContext(); 36 | } 37 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/RouteCompilerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing; 13 | 14 | /** 15 | * RouteCompilerInterface is the interface that all RouteCompiler classes must implement. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface RouteCompilerInterface 20 | { 21 | /** 22 | * Compiles the current route instance. 23 | * 24 | * @param Route $route A Route instance 25 | * 26 | * @return CompiledRoute A CompiledRoute instance 27 | */ 28 | public function compile(Route $route); 29 | } 30 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/RouterInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing; 13 | 14 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; 15 | use Symfony\Component\Routing\Matcher\UrlMatcherInterface; 16 | 17 | /** 18 | * RouterInterface is the interface that all Router classes must implement. 19 | * 20 | * This interface is the concatenation of UrlMatcherInterface and UrlGeneratorInterface. 21 | * 22 | * @author Fabien Potencier 23 | */ 24 | interface RouterInterface extends UrlMatcherInterface, UrlGeneratorInterface 25 | { 26 | /** 27 | * Gets the RouteCollection instance associated with this Router. 28 | * 29 | * @return RouteCollection A RouteCollection instance 30 | */ 31 | public function getRouteCollection(); 32 | } 33 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/CompiledRouteTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Tests; 13 | 14 | use Symfony\Component\Routing\CompiledRoute; 15 | 16 | class CompiledRouteTest extends \PHPUnit_Framework_TestCase 17 | { 18 | public function testAccessors() 19 | { 20 | $compiled = new CompiledRoute('prefix', 'regex', array('tokens'), array('variables')); 21 | $this->assertEquals('prefix', $compiled->getStaticPrefix(), '__construct() takes a static prefix as its first argument'); 22 | $this->assertEquals('regex', $compiled->getRegex(), '__construct() takes a regexp as its second argument'); 23 | $this->assertEquals(array('tokens'), $compiled->getTokens(), '__construct() takes an array of tokens as its third argument'); 24 | $this->assertEquals(array('variables'), $compiled->getVariables(), '__construct() takes an array of variables as its forth argument'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/AnnotatedClasses/AbstractClass.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses; 13 | 14 | abstract class AbstractClass 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/AnnotatedClasses/FooClass.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses; 13 | 14 | class FooClass 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/CustomXmlFileLoader.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Tests\Fixtures; 13 | 14 | use Symfony\Component\Routing\Loader\XmlFileLoader; 15 | 16 | /** 17 | * XmlFileLoader with schema validation turned off 18 | */ 19 | class CustomXmlFileLoader extends XmlFileLoader 20 | { 21 | protected function validate(\DOMDocument $dom) 22 | { 23 | return true; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/RedirectableUrlMatcher.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Tests\Fixtures; 13 | 14 | use Symfony\Component\Routing\Matcher\UrlMatcher; 15 | use Symfony\Component\Routing\Matcher\RedirectableUrlMatcherInterface; 16 | 17 | /** 18 | * @author Fabien Potencier 19 | */ 20 | class RedirectableUrlMatcher extends UrlMatcher implements RedirectableUrlMatcherInterface 21 | { 22 | public function redirect($path, $route, $scheme = null) 23 | { 24 | return array( 25 | '_controller' => 'Some controller reference...', 26 | 'path' => $path, 27 | 'scheme' => $scheme, 28 | ); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/annotated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/annotated.php -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/dumper/url_matcher2.apache: -------------------------------------------------------------------------------- 1 | # skip "real" requests 2 | RewriteCond %{REQUEST_FILENAME} -f 3 | RewriteRule .* - [QSA,L] 4 | 5 | # foo 6 | RewriteCond %{REQUEST_URI} ^/foo$ 7 | RewriteRule .* ap\ p_d\ ev.php [QSA,L,E=_ROUTING__route:foo] 8 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/empty.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/empty.yml -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/foo.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/foo.xml -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/foo1.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraryPrimitiveMan/phpMongoAdmin/2cdc8e8e769505a7a4fccbecdbf5d134a4bcb232/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/foo1.xml -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/incomplete.yml: -------------------------------------------------------------------------------- 1 | blog_show: 2 | defaults: { _controller: MyBlogBundle:Blog:show } 3 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/nonvalid.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | MyBundle:Blog:show 9 | GET 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/nonvalid.yml: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/nonvalidkeys.yml: -------------------------------------------------------------------------------- 1 | someroute: 2 | resource: path/to/some.yml 3 | name_prefix: test_ 4 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/nonvalidnode.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | bar 8 | 9 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/nonvalidroute.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | MyBundle:Blog:show 9 | GET 10 | 11 | baz 12 | 13 | 14 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/validpattern.php: -------------------------------------------------------------------------------- 1 | add('blog_show', new Route( 7 | '/blog/{slug}', 8 | array('_controller' => 'MyBlogBundle:Blog:show'), 9 | array(), 10 | array('compiler_class' => 'RouteCompiler') 11 | )); 12 | 13 | return $collection; 14 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/validpattern.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | MyBundle:Blog:show 9 | 10 | GET 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/validpattern.yml: -------------------------------------------------------------------------------- 1 | blog_show: 2 | pattern: /blog/{slug} 3 | defaults: { _controller: MyBlogBundle:Blog:show } 4 | options: 5 | compiler_class: RouteCompiler 6 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/validresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | foo 9 | \d+ 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/validresource.yml: -------------------------------------------------------------------------------- 1 | blog_show: 2 | resource: validpattern.yml 3 | prefix: /{foo} 4 | defaults: { 'foo': 'foo' } 5 | requirements: { 'foo': '\d+' } 6 | options: { 'foo': 'bar' } 7 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/withdoctype.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/Loader/AbstractAnnotationLoaderTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Tests\Loader; 13 | 14 | abstract class AbstractAnnotationLoaderTest extends \PHPUnit_Framework_TestCase 15 | { 16 | protected function setUp() 17 | { 18 | if (!class_exists('Doctrine\\Common\\Version')) { 19 | $this->markTestSkipped('Doctrine is not available.'); 20 | } 21 | } 22 | 23 | public function getReader() 24 | { 25 | return $this->getMockBuilder('Doctrine\Common\Annotations\Reader') 26 | ->disableOriginalConstructor() 27 | ->getMock() 28 | ; 29 | } 30 | 31 | public function getClassLoader($reader) 32 | { 33 | return $this->getMockBuilder('Symfony\Component\Routing\Loader\AnnotationClassLoader') 34 | ->setConstructorArgs(array($reader)) 35 | ->getMockForAbstractClass() 36 | ; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/Tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | spl_autoload_register(function ($class) { 13 | if (0 === strpos(ltrim($class, '/'), 'Symfony\Component\Routing')) { 14 | if (file_exists($file = __DIR__.'/../'.substr(str_replace('\\', '/', $class), strlen('Symfony\Component\Routing')).'.php')) { 15 | require_once $file; 16 | } 17 | } 18 | }); 19 | 20 | if (file_exists($loader = __DIR__.'/../vendor/autoload.php')) { 21 | require_once $loader; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/routing", 3 | "type": "library", 4 | "description": "Symfony Routing Component", 5 | "keywords": [], 6 | "homepage": "http://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "http://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.3" 20 | }, 21 | "require-dev": { 22 | "symfony/config": "2.1.*", 23 | "symfony/yaml": "2.1.*", 24 | "symfony/http-kernel": "2.1.*", 25 | "doctrine/common": "~2.2" 26 | }, 27 | "suggest": { 28 | "symfony/config": "2.1.*", 29 | "symfony/yaml": "2.1.*", 30 | "doctrine/common": "~2.2" 31 | }, 32 | "autoload": { 33 | "psr-0": { "Symfony\\Component\\Routing": "" } 34 | }, 35 | "target-dir": "Symfony/Component/Routing", 36 | "minimum-stability": "dev" 37 | } 38 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Symfony/Component/Routing/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./Tests/ 17 | 18 | 19 | 20 | 21 | 22 | ./ 23 | 24 | ./vendor 25 | ./Tests 26 | 27 | 28 | 29 | 30 | --------------------------------------------------------------------------------