├── .gitignore ├── README.md ├── brad.cron.php ├── brad.php ├── composer.json ├── composer.lock ├── config ├── index.php └── services.php ├── controllers ├── admin │ ├── AbstractAdminBradModuleController.php │ ├── AdminBradAdvancedSettingController.php │ ├── AdminBradFilterController.php │ ├── AdminBradFilterTemplateController.php │ ├── AdminBradInfoController.php │ ├── AdminBradSettingController.php │ └── index.php ├── front │ ├── filter.php │ ├── index.php │ └── search.php └── index.php ├── index.php ├── logo.png ├── logs └── .gitkeep ├── override ├── classes │ ├── Link.php │ └── index.php └── index.php ├── sql ├── .htaccess ├── index.php ├── install │ ├── entity_criteria.sql │ ├── entity_filter.sql │ ├── entity_filter_template.sql │ └── index.php └── uninstall │ ├── index.php │ └── uninstall.sql ├── src ├── Config │ ├── Setting.php │ ├── Sort.php │ └── index.php ├── Container │ ├── Container.php │ └── index.php ├── Controller │ ├── AbstractBradModuleFrontController.php │ └── index.php ├── Converter │ ├── NameConverter.php │ └── index.php ├── Cron │ ├── Task │ │ ├── IndexProductsTask.php │ │ └── index.php │ ├── TaskInterface.php │ ├── TaskRunner.php │ └── index.php ├── DataType │ ├── FilterData.php │ ├── FilterStruct.php │ ├── SearchData.php │ └── index.php ├── Entity │ ├── BradAttributeGroup.php │ ├── BradCategory.php │ ├── BradCountry.php │ ├── BradCriteria.php │ ├── BradCurrency.php │ ├── BradFeature.php │ ├── BradFilter.php │ ├── BradFilterTemplate.php │ ├── BradGroup.php │ ├── BradManufacturer.php │ ├── BradProduct.php │ ├── BradShop.php │ └── index.php ├── Exception │ ├── InvalidEntityException.php │ ├── InvalidRepositoryException.php │ ├── ServiceNotFoundException.php │ └── index.php ├── Install │ ├── AbstractInstaller.php │ ├── DbInstaller.php │ ├── Installer.php │ └── index.php ├── Logger │ ├── Logger.php │ ├── LoggerInterface.php │ └── index.php ├── Repository │ ├── AttributeGroupRepository.php │ ├── CategoryRepository.php │ ├── CountryRepository.php │ ├── CurrencyRepository.php │ ├── FeatureRepository.php │ ├── FilterRepository.php │ ├── FilterTemplateRepository.php │ ├── GroupRepository.php │ ├── ManufacturerRepository.php │ ├── ProductRepository.php │ └── index.php ├── Service │ ├── Elasticsearch │ │ ├── Builder │ │ │ ├── AbstractQueryBuilder.php │ │ │ ├── ClientBuilder.php │ │ │ ├── DocumentBuilder.php │ │ │ ├── FilterQueryBuilder.php │ │ │ ├── IndexBuilder.php │ │ │ ├── SearchQueryBuilder.php │ │ │ └── index.php │ │ ├── ElasticsearchHelper.php │ │ ├── ElasticsearchIndexer.php │ │ ├── ElasticsearchManager.php │ │ ├── ElasticsearchSearch.php │ │ └── index.php │ ├── FilterService.php │ ├── Indexer.php │ ├── SearchService.php │ ├── UrlParser.php │ └── index.php ├── Template │ ├── Templating.php │ └── index.php ├── Traits │ ├── GetServiceTrait.php │ └── index.php ├── Util │ ├── Arrays.php │ ├── MemoryStat.php │ ├── RangeParser.php │ └── index.php └── index.php ├── tests ├── Unit │ ├── index.php │ └── src │ │ ├── Service │ │ ├── Elasticsearch │ │ │ ├── Builder │ │ │ │ ├── ClientBuilderTest.php │ │ │ │ ├── FilterQueryBuilderTest.php │ │ │ │ ├── SearchQueryBuilderTest.php │ │ │ │ └── index.php │ │ │ └── index.php │ │ ├── UrlParserTest.php │ │ └── index.php │ │ └── Util │ │ ├── ArraysTest.php │ │ └── index.php ├── bootstrap.php └── index.php ├── vendor ├── .htaccess ├── autoload.php ├── composer │ ├── ClassLoader.php │ ├── LICENSE │ ├── autoload_classmap.php │ ├── autoload_files.php │ ├── autoload_namespaces.php │ ├── autoload_psr4.php │ ├── autoload_real.php │ └── installed.json ├── elasticsearch │ └── elasticsearch │ │ ├── .github │ │ ├── CONTRIBUTING.md │ │ ├── ISSUE_TEMPLATE.md │ │ └── PULL_REQUEST_TEMPLATE.md │ │ ├── .gitignore │ │ ├── .gitmodules │ │ ├── .php_cs │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── NOTICE │ │ ├── README.md │ │ ├── benchmarks │ │ └── Elasticsearch │ │ │ └── Benchmarks │ │ │ ├── AsyncVsSyncIndexingEvent.php │ │ │ └── SequentialIndexingEvent.php │ │ ├── composer.json │ │ ├── docs │ │ ├── breaking-changes.asciidoc │ │ ├── build │ │ │ ├── Elasticsearch │ │ │ │ ├── Client.asciidoc │ │ │ │ ├── ClientBuilder.asciidoc │ │ │ │ └── Namespaces │ │ │ │ │ ├── CatNamespace.asciidoc │ │ │ │ │ ├── ClusterNamespace.asciidoc │ │ │ │ │ ├── IndicesNamespace.asciidoc │ │ │ │ │ ├── NodesNamespace.asciidoc │ │ │ │ │ ├── SnapshotNamespace.asciidoc │ │ │ │ │ └── TaskNamespace.asciidoc │ │ │ ├── PROJECT_VERSION │ │ │ ├── SAMI_VERSION │ │ │ ├── classes.asciidoc │ │ │ ├── interfaces.asciidoc │ │ │ ├── namespaces.asciidoc │ │ │ └── renderer.index │ │ ├── community.asciidoc │ │ ├── configuration.asciidoc │ │ ├── connection-pool.asciidoc │ │ ├── crud.asciidoc │ │ ├── futures.asciidoc │ │ ├── index-operations.asciidoc │ │ ├── index.asciidoc │ │ ├── installation.asciidoc │ │ ├── namespaces.asciidoc │ │ ├── overview.asciidoc │ │ ├── per-request-configuration.asciidoc │ │ ├── php-version-requirement.asciidoc │ │ ├── php_json_objects.asciidoc │ │ ├── quickstart.asciidoc │ │ ├── search-operations.asciidoc │ │ ├── security.asciidoc │ │ ├── selectors.asciidoc │ │ └── serializers.asciidoc │ │ ├── src │ │ └── Elasticsearch │ │ │ ├── Client.php │ │ │ ├── ClientBuilder.php │ │ │ ├── Common │ │ │ ├── EmptyLogger.php │ │ │ └── Exceptions │ │ │ │ ├── AlreadyExpiredException.php │ │ │ │ ├── BadMethodCallException.php │ │ │ │ ├── BadRequest400Exception.php │ │ │ │ ├── ClientErrorResponseException.php │ │ │ │ ├── Conflict409Exception.php │ │ │ │ ├── Curl │ │ │ │ ├── CouldNotConnectToHost.php │ │ │ │ ├── CouldNotResolveHostException.php │ │ │ │ └── OperationTimeoutException.php │ │ │ │ ├── ElasticsearchException.php │ │ │ │ ├── Forbidden403Exception.php │ │ │ │ ├── InvalidArgumentException.php │ │ │ │ ├── MaxRetriesException.php │ │ │ │ ├── Missing404Exception.php │ │ │ │ ├── NoDocumentsToGetException.php │ │ │ │ ├── NoNodesAvailableException.php │ │ │ │ ├── NoShardAvailableException.php │ │ │ │ ├── RequestTimeout408Exception.php │ │ │ │ ├── RoutingMissingException.php │ │ │ │ ├── RuntimeException.php │ │ │ │ ├── ScriptLangNotSupportedException.php │ │ │ │ ├── Serializer │ │ │ │ └── JsonErrorException.php │ │ │ │ ├── ServerErrorResponseException.php │ │ │ │ ├── TransportException.php │ │ │ │ └── UnexpectedValueException.php │ │ │ ├── ConnectionPool │ │ │ ├── AbstractConnectionPool.php │ │ │ ├── ConnectionPoolInterface.php │ │ │ ├── Selectors │ │ │ │ ├── RandomSelector.php │ │ │ │ ├── RoundRobinSelector.php │ │ │ │ ├── SelectorInterface.php │ │ │ │ └── StickyRoundRobinSelector.php │ │ │ ├── SimpleConnectionPool.php │ │ │ ├── SniffingConnectionPool.php │ │ │ ├── StaticConnectionPool.php │ │ │ └── StaticNoPingConnectionPool.php │ │ │ ├── Connections │ │ │ ├── Connection.php │ │ │ ├── ConnectionFactory.php │ │ │ ├── ConnectionFactoryInterface.php │ │ │ └── ConnectionInterface.php │ │ │ ├── Endpoints │ │ │ ├── AbstractEndpoint.php │ │ │ ├── Bulk.php │ │ │ ├── BulkEndpointInterface.php │ │ │ ├── Cat │ │ │ │ ├── Aliases.php │ │ │ │ ├── Allocation.php │ │ │ │ ├── Count.php │ │ │ │ ├── FieldData.php │ │ │ │ ├── Health.php │ │ │ │ ├── Help.php │ │ │ │ ├── Indices.php │ │ │ │ ├── Master.php │ │ │ │ ├── NodeAttrs.php │ │ │ │ ├── Nodes.php │ │ │ │ ├── PendingTasks.php │ │ │ │ ├── Plugins.php │ │ │ │ ├── Recovery.php │ │ │ │ ├── Repositories.php │ │ │ │ ├── Segments.php │ │ │ │ ├── Shards.php │ │ │ │ ├── Snapshots.php │ │ │ │ └── ThreadPool.php │ │ │ ├── ClearScroll.php │ │ │ ├── Cluster │ │ │ │ ├── Health.php │ │ │ │ ├── PendingTasks.php │ │ │ │ ├── Reroute.php │ │ │ │ ├── Settings │ │ │ │ │ ├── Get.php │ │ │ │ │ └── Put.php │ │ │ │ ├── State.php │ │ │ │ └── Stats.php │ │ │ ├── Count.php │ │ │ ├── CountPercolate.php │ │ │ ├── Delete.php │ │ │ ├── DeleteByQuery.php │ │ │ ├── Exists.php │ │ │ ├── Explain.php │ │ │ ├── FieldStats.php │ │ │ ├── Get.php │ │ │ ├── Index.php │ │ │ ├── Indices │ │ │ │ ├── Alias │ │ │ │ │ ├── Delete.php │ │ │ │ │ ├── Exists.php │ │ │ │ │ ├── Get.php │ │ │ │ │ └── Put.php │ │ │ │ ├── Aliases │ │ │ │ │ ├── Get.php │ │ │ │ │ └── Update.php │ │ │ │ ├── Analyze.php │ │ │ │ ├── Cache │ │ │ │ │ └── Clear.php │ │ │ │ ├── Close.php │ │ │ │ ├── Create.php │ │ │ │ ├── Delete.php │ │ │ │ ├── Exists.php │ │ │ │ ├── Exists │ │ │ │ │ └── Types.php │ │ │ │ ├── Field │ │ │ │ │ └── Get.php │ │ │ │ ├── Flush.php │ │ │ │ ├── ForceMerge.php │ │ │ │ ├── Gateway │ │ │ │ │ └── Snapshot.php │ │ │ │ ├── Get.php │ │ │ │ ├── Mapping │ │ │ │ │ ├── Delete.php │ │ │ │ │ ├── Get.php │ │ │ │ │ ├── GetField.php │ │ │ │ │ └── Put.php │ │ │ │ ├── Open.php │ │ │ │ ├── Optimize.php │ │ │ │ ├── Recovery.php │ │ │ │ ├── Refresh.php │ │ │ │ ├── Seal.php │ │ │ │ ├── Segments.php │ │ │ │ ├── Settings │ │ │ │ │ ├── Get.php │ │ │ │ │ └── Put.php │ │ │ │ ├── ShardStores.php │ │ │ │ ├── Stats.php │ │ │ │ ├── Status.php │ │ │ │ ├── Template │ │ │ │ │ ├── Delete.php │ │ │ │ │ ├── Exists.php │ │ │ │ │ ├── Get.php │ │ │ │ │ └── Put.php │ │ │ │ ├── Type │ │ │ │ │ └── Exists.php │ │ │ │ ├── Upgrade │ │ │ │ │ ├── Get.php │ │ │ │ │ └── Post.php │ │ │ │ ├── Validate │ │ │ │ │ └── Query.php │ │ │ │ └── Warmer │ │ │ │ │ ├── Delete.php │ │ │ │ │ ├── Get.php │ │ │ │ │ └── Put.php │ │ │ ├── Info.php │ │ │ ├── MGet.php │ │ │ ├── MPercolate.php │ │ │ ├── MSearch.php │ │ │ ├── MTermVectors.php │ │ │ ├── Mlt.php │ │ │ ├── Nodes │ │ │ │ ├── AbstractNodesEndpoint.php │ │ │ │ ├── HotThreads.php │ │ │ │ ├── Info.php │ │ │ │ ├── Shutdown.php │ │ │ │ └── Stats.php │ │ │ ├── Percolate.php │ │ │ ├── Ping.php │ │ │ ├── Reindex.php │ │ │ ├── RenderSearchTemplate.php │ │ │ ├── Script │ │ │ │ ├── Delete.php │ │ │ │ ├── Get.php │ │ │ │ └── Put.php │ │ │ ├── Scroll.php │ │ │ ├── Search.php │ │ │ ├── SearchExists.php │ │ │ ├── SearchShards.php │ │ │ ├── SearchTemplate.php │ │ │ ├── Snapshot │ │ │ │ ├── Create.php │ │ │ │ ├── Delete.php │ │ │ │ ├── Get.php │ │ │ │ ├── Repository │ │ │ │ │ ├── Create.php │ │ │ │ │ ├── Delete.php │ │ │ │ │ └── Get.php │ │ │ │ ├── Restore.php │ │ │ │ ├── Status.php │ │ │ │ └── VerifyRepository.php │ │ │ ├── Source │ │ │ │ └── Get.php │ │ │ ├── Suggest.php │ │ │ ├── Tasks │ │ │ │ ├── Cancel.php │ │ │ │ └── Get.php │ │ │ ├── Template │ │ │ │ ├── Delete.php │ │ │ │ ├── Get.php │ │ │ │ └── Put.php │ │ │ ├── TermVectors.php │ │ │ ├── Update.php │ │ │ └── UpdateByQuery.php │ │ │ ├── Helper │ │ │ └── Iterators │ │ │ │ ├── SearchHitIterator.php │ │ │ │ └── SearchResponseIterator.php │ │ │ ├── Namespaces │ │ │ ├── AbstractNamespace.php │ │ │ ├── BooleanRequestWrapper.php │ │ │ ├── CatNamespace.php │ │ │ ├── ClusterNamespace.php │ │ │ ├── IndicesNamespace.php │ │ │ ├── NodesNamespace.php │ │ │ ├── SnapshotNamespace.php │ │ │ └── TasksNamespace.php │ │ │ ├── Serializers │ │ │ ├── ArrayToJSONSerializer.php │ │ │ ├── EverythingToJSONSerializer.php │ │ │ ├── SerializerInterface.php │ │ │ └── SmartSerializer.php │ │ │ └── Transport.php │ │ ├── tests │ │ ├── Elasticsearch │ │ │ └── Tests │ │ │ │ ├── ClientTest.php │ │ │ │ ├── ConnectionPool │ │ │ │ ├── Selectors │ │ │ │ │ ├── RoundRobinSelectorTest.php │ │ │ │ │ └── StickyRoundRobinSelectorTest.php │ │ │ │ ├── SniffingConnectionPoolIntegrationTest.php │ │ │ │ ├── SniffingConnectionPoolTest.php │ │ │ │ └── StaticConnectionPoolTest.php │ │ │ │ ├── Helper │ │ │ │ └── Iterators │ │ │ │ │ └── SearchResponseIteratorTest.php │ │ │ │ ├── Serializers │ │ │ │ ├── ArrayToJSONSerializerTest.php │ │ │ │ └── EverythingToJSONSerializerTest.php │ │ │ │ └── YamlRunnerTest.php │ │ └── bootstrap.php │ │ ├── travis │ │ ├── download_and_run_es.sh │ │ └── generate_docs.sh │ │ └── util │ │ ├── EnsureClusterAlive.php │ │ ├── RestSpecRunner.php │ │ ├── SpecParser.php │ │ ├── docsConfig.php │ │ ├── docstheme │ │ ├── layout │ │ │ └── base.twig │ │ ├── macros.twig │ │ ├── manifest.yml │ │ └── pages │ │ │ ├── class.twig │ │ │ ├── classes.twig │ │ │ ├── interfaces.twig │ │ │ └── namespaces.twig │ │ └── templates │ │ └── endpoint.twig ├── guzzlehttp │ ├── ringphp │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.rst │ │ ├── composer.json │ │ ├── docs │ │ │ ├── Makefile │ │ │ ├── client_handlers.rst │ │ │ ├── client_middleware.rst │ │ │ ├── conf.py │ │ │ ├── futures.rst │ │ │ ├── index.rst │ │ │ ├── requirements.txt │ │ │ ├── spec.rst │ │ │ └── testing.rst │ │ ├── phpunit.xml.dist │ │ ├── src │ │ │ ├── Client │ │ │ │ ├── ClientUtils.php │ │ │ │ ├── CurlFactory.php │ │ │ │ ├── CurlHandler.php │ │ │ │ ├── CurlMultiHandler.php │ │ │ │ ├── Middleware.php │ │ │ │ ├── MockHandler.php │ │ │ │ └── StreamHandler.php │ │ │ ├── Core.php │ │ │ ├── Exception │ │ │ │ ├── CancelledException.php │ │ │ │ ├── CancelledFutureAccessException.php │ │ │ │ ├── ConnectException.php │ │ │ │ └── RingException.php │ │ │ └── Future │ │ │ │ ├── BaseFutureTrait.php │ │ │ │ ├── CompletedFutureArray.php │ │ │ │ ├── CompletedFutureValue.php │ │ │ │ ├── FutureArray.php │ │ │ │ ├── FutureArrayInterface.php │ │ │ │ ├── FutureInterface.php │ │ │ │ ├── FutureValue.php │ │ │ │ └── MagicFutureTrait.php │ │ └── tests │ │ │ ├── Client │ │ │ ├── CurlFactoryTest.php │ │ │ ├── CurlHandlerTest.php │ │ │ ├── CurlMultiHandlerTest.php │ │ │ ├── MiddlewareTest.php │ │ │ ├── MockHandlerTest.php │ │ │ ├── Server.php │ │ │ ├── StreamHandlerTest.php │ │ │ └── server.js │ │ │ ├── CoreTest.php │ │ │ ├── Future │ │ │ ├── CompletedFutureArrayTest.php │ │ │ ├── CompletedFutureValueTest.php │ │ │ ├── FutureArrayTest.php │ │ │ └── FutureValueTest.php │ │ │ └── bootstrap.php │ └── streams │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.rst │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.rst │ │ ├── composer.json │ │ ├── phpunit.xml.dist │ │ ├── src │ │ ├── AppendStream.php │ │ ├── AsyncReadStream.php │ │ ├── BufferStream.php │ │ ├── CachingStream.php │ │ ├── DroppingStream.php │ │ ├── Exception │ │ │ ├── CannotAttachException.php │ │ │ └── SeekException.php │ │ ├── FnStream.php │ │ ├── GuzzleStreamWrapper.php │ │ ├── InflateStream.php │ │ ├── LazyOpenStream.php │ │ ├── LimitStream.php │ │ ├── MetadataStreamInterface.php │ │ ├── NoSeekStream.php │ │ ├── NullStream.php │ │ ├── PumpStream.php │ │ ├── Stream.php │ │ ├── StreamDecoratorTrait.php │ │ ├── StreamInterface.php │ │ └── Utils.php │ │ └── tests │ │ ├── AppendStreamTest.php │ │ ├── AsyncReadStreamTest.php │ │ ├── BufferStreamTest.php │ │ ├── CachingStreamTest.php │ │ ├── DroppingStreamTest.php │ │ ├── Exception │ │ └── SeekExceptionTest.php │ │ ├── FnStreamTest.php │ │ ├── GuzzleStreamWrapperTest.php │ │ ├── InflateStreamTest.php │ │ ├── LazyOpenStreamTest.php │ │ ├── LimitStreamTest.php │ │ ├── NoSeekStreamTest.php │ │ ├── NullStreamTest.php │ │ ├── PumpStreamTest.php │ │ ├── StreamDecoratorTraitTest.php │ │ ├── StreamTest.php │ │ └── UtilsTest.php ├── index.php ├── monolog │ └── monolog │ │ ├── .php_cs │ │ ├── CHANGELOG.mdown │ │ ├── LICENSE │ │ ├── README.mdown │ │ ├── composer.json │ │ ├── doc │ │ ├── 01-usage.md │ │ ├── 02-handlers-formatters-processors.md │ │ ├── 03-utilities.md │ │ ├── 04-extending.md │ │ └── sockets.md │ │ ├── phpunit.xml.dist │ │ ├── src │ │ └── Monolog │ │ │ ├── ErrorHandler.php │ │ │ ├── Formatter │ │ │ ├── ChromePHPFormatter.php │ │ │ ├── ElasticaFormatter.php │ │ │ ├── FlowdockFormatter.php │ │ │ ├── FluentdFormatter.php │ │ │ ├── FormatterInterface.php │ │ │ ├── GelfMessageFormatter.php │ │ │ ├── HtmlFormatter.php │ │ │ ├── JsonFormatter.php │ │ │ ├── LineFormatter.php │ │ │ ├── LogglyFormatter.php │ │ │ ├── LogstashFormatter.php │ │ │ ├── MongoDBFormatter.php │ │ │ ├── NormalizerFormatter.php │ │ │ ├── ScalarFormatter.php │ │ │ └── WildfireFormatter.php │ │ │ ├── Handler │ │ │ ├── AbstractHandler.php │ │ │ ├── AbstractProcessingHandler.php │ │ │ ├── AbstractSyslogHandler.php │ │ │ ├── AmqpHandler.php │ │ │ ├── BrowserConsoleHandler.php │ │ │ ├── BufferHandler.php │ │ │ ├── ChromePHPHandler.php │ │ │ ├── CouchDBHandler.php │ │ │ ├── CubeHandler.php │ │ │ ├── Curl │ │ │ │ └── Util.php │ │ │ ├── DeduplicationHandler.php │ │ │ ├── DoctrineCouchDBHandler.php │ │ │ ├── DynamoDbHandler.php │ │ │ ├── ElasticSearchHandler.php │ │ │ ├── ErrorLogHandler.php │ │ │ ├── FilterHandler.php │ │ │ ├── FingersCrossed │ │ │ │ ├── ActivationStrategyInterface.php │ │ │ │ ├── ChannelLevelActivationStrategy.php │ │ │ │ └── ErrorLevelActivationStrategy.php │ │ │ ├── FingersCrossedHandler.php │ │ │ ├── FirePHPHandler.php │ │ │ ├── FleepHookHandler.php │ │ │ ├── FlowdockHandler.php │ │ │ ├── GelfHandler.php │ │ │ ├── GroupHandler.php │ │ │ ├── HandlerInterface.php │ │ │ ├── HandlerWrapper.php │ │ │ ├── HipChatHandler.php │ │ │ ├── IFTTTHandler.php │ │ │ ├── LogEntriesHandler.php │ │ │ ├── LogglyHandler.php │ │ │ ├── MailHandler.php │ │ │ ├── MandrillHandler.php │ │ │ ├── MissingExtensionException.php │ │ │ ├── MongoDBHandler.php │ │ │ ├── NativeMailerHandler.php │ │ │ ├── NewRelicHandler.php │ │ │ ├── NullHandler.php │ │ │ ├── PHPConsoleHandler.php │ │ │ ├── PsrHandler.php │ │ │ ├── PushoverHandler.php │ │ │ ├── RavenHandler.php │ │ │ ├── RedisHandler.php │ │ │ ├── RollbarHandler.php │ │ │ ├── RotatingFileHandler.php │ │ │ ├── SamplingHandler.php │ │ │ ├── Slack │ │ │ │ └── SlackRecord.php │ │ │ ├── SlackHandler.php │ │ │ ├── SlackWebhookHandler.php │ │ │ ├── SlackbotHandler.php │ │ │ ├── SocketHandler.php │ │ │ ├── StreamHandler.php │ │ │ ├── SwiftMailerHandler.php │ │ │ ├── SyslogHandler.php │ │ │ ├── SyslogUdp │ │ │ │ └── UdpSocket.php │ │ │ ├── SyslogUdpHandler.php │ │ │ ├── TestHandler.php │ │ │ ├── WhatFailureGroupHandler.php │ │ │ └── ZendMonitorHandler.php │ │ │ ├── Logger.php │ │ │ ├── Processor │ │ │ ├── GitProcessor.php │ │ │ ├── IntrospectionProcessor.php │ │ │ ├── MemoryPeakUsageProcessor.php │ │ │ ├── MemoryProcessor.php │ │ │ ├── MemoryUsageProcessor.php │ │ │ ├── MercurialProcessor.php │ │ │ ├── ProcessIdProcessor.php │ │ │ ├── PsrLogMessageProcessor.php │ │ │ ├── TagProcessor.php │ │ │ ├── UidProcessor.php │ │ │ └── WebProcessor.php │ │ │ └── Registry.php │ │ └── tests │ │ └── Monolog │ │ ├── ErrorHandlerTest.php │ │ ├── Formatter │ │ ├── ChromePHPFormatterTest.php │ │ ├── ElasticaFormatterTest.php │ │ ├── FlowdockFormatterTest.php │ │ ├── FluentdFormatterTest.php │ │ ├── GelfMessageFormatterTest.php │ │ ├── JsonFormatterTest.php │ │ ├── LineFormatterTest.php │ │ ├── LogglyFormatterTest.php │ │ ├── LogstashFormatterTest.php │ │ ├── MongoDBFormatterTest.php │ │ ├── NormalizerFormatterTest.php │ │ ├── ScalarFormatterTest.php │ │ └── WildfireFormatterTest.php │ │ ├── Handler │ │ ├── AbstractHandlerTest.php │ │ ├── AbstractProcessingHandlerTest.php │ │ ├── AmqpHandlerTest.php │ │ ├── BrowserConsoleHandlerTest.php │ │ ├── BufferHandlerTest.php │ │ ├── ChromePHPHandlerTest.php │ │ ├── CouchDBHandlerTest.php │ │ ├── DeduplicationHandlerTest.php │ │ ├── DoctrineCouchDBHandlerTest.php │ │ ├── DynamoDbHandlerTest.php │ │ ├── ElasticSearchHandlerTest.php │ │ ├── ErrorLogHandlerTest.php │ │ ├── FilterHandlerTest.php │ │ ├── FingersCrossedHandlerTest.php │ │ ├── FirePHPHandlerTest.php │ │ ├── Fixtures │ │ │ └── .gitkeep │ │ ├── FleepHookHandlerTest.php │ │ ├── FlowdockHandlerTest.php │ │ ├── GelfHandlerLegacyTest.php │ │ ├── GelfHandlerTest.php │ │ ├── GelfMockMessagePublisher.php │ │ ├── GroupHandlerTest.php │ │ ├── HandlerWrapperTest.php │ │ ├── HipChatHandlerTest.php │ │ ├── LogEntriesHandlerTest.php │ │ ├── MailHandlerTest.php │ │ ├── MockRavenClient.php │ │ ├── MongoDBHandlerTest.php │ │ ├── NativeMailerHandlerTest.php │ │ ├── NewRelicHandlerTest.php │ │ ├── NullHandlerTest.php │ │ ├── PHPConsoleHandlerTest.php │ │ ├── PsrHandlerTest.php │ │ ├── PushoverHandlerTest.php │ │ ├── RavenHandlerTest.php │ │ ├── RedisHandlerTest.php │ │ ├── RotatingFileHandlerTest.php │ │ ├── SamplingHandlerTest.php │ │ ├── Slack │ │ │ └── SlackRecordTest.php │ │ ├── SlackHandlerTest.php │ │ ├── SlackWebhookHandlerTest.php │ │ ├── SlackbotHandlerTest.php │ │ ├── SocketHandlerTest.php │ │ ├── StreamHandlerTest.php │ │ ├── SwiftMailerHandlerTest.php │ │ ├── SyslogHandlerTest.php │ │ ├── SyslogUdpHandlerTest.php │ │ ├── TestHandlerTest.php │ │ ├── UdpSocketTest.php │ │ ├── WhatFailureGroupHandlerTest.php │ │ └── ZendMonitorHandlerTest.php │ │ ├── LoggerTest.php │ │ ├── Processor │ │ ├── GitProcessorTest.php │ │ ├── IntrospectionProcessorTest.php │ │ ├── MemoryPeakUsageProcessorTest.php │ │ ├── MemoryUsageProcessorTest.php │ │ ├── MercurialProcessorTest.php │ │ ├── ProcessIdProcessorTest.php │ │ ├── PsrLogMessageProcessorTest.php │ │ ├── TagProcessorTest.php │ │ ├── UidProcessorTest.php │ │ └── WebProcessorTest.php │ │ ├── PsrLogCompatTest.php │ │ ├── RegistryTest.php │ │ └── TestCase.php ├── ongr │ └── elasticsearch-dsl │ │ ├── .coveralls.yml │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── composer.json │ │ ├── docs │ │ ├── Aggregation │ │ │ ├── Avg.md │ │ │ ├── Cardinality.md │ │ │ ├── Children.md │ │ │ ├── DateHistogram.md │ │ │ ├── DateRange.md │ │ │ ├── ExtendedStats.md │ │ │ ├── Filter.md │ │ │ ├── Filters.md │ │ │ ├── GeoBounds.md │ │ │ ├── GeoCentroid.md │ │ │ ├── GeoDistance.md │ │ │ ├── GeoHashGrid.md │ │ │ ├── Global.md │ │ │ ├── Histogram.md │ │ │ ├── Ipv4Range.md │ │ │ ├── Max.md │ │ │ ├── Min.md │ │ │ ├── Missing.md │ │ │ ├── Nested.md │ │ │ ├── PercentileRanks.md │ │ │ ├── Percentiles.md │ │ │ ├── Pipeline │ │ │ │ ├── AvgBucket.md │ │ │ │ ├── BucketScript.md │ │ │ │ ├── BucketSelector.md │ │ │ │ ├── CumulativeSum.md │ │ │ │ ├── Derrivative.md │ │ │ │ ├── ExtendedStatsBucket.md │ │ │ │ ├── MaxBucket.md │ │ │ │ ├── MinBucket.md │ │ │ │ ├── PercentilesBucket.md │ │ │ │ ├── SerialDifferencing.md │ │ │ │ ├── StatsBucket.md │ │ │ │ └── SumBucket.md │ │ │ ├── Range.md │ │ │ ├── ReverseNested.md │ │ │ ├── SamplerAgg.md │ │ │ ├── SignificantTerms.md │ │ │ ├── Stats.md │ │ │ ├── Sum.md │ │ │ ├── Terms.md │ │ │ ├── TopHits.md │ │ │ ├── ValueCount.md │ │ │ └── index.md │ │ ├── HowTo │ │ │ ├── CustomParameters.md │ │ │ └── HowToSearch.md │ │ ├── InnerHits │ │ │ ├── Nested.md │ │ │ └── Parent.md │ │ ├── Query │ │ │ ├── Bool.md │ │ │ ├── Boosting.md │ │ │ ├── CommonTerms.md │ │ │ ├── ConstantScore.md │ │ │ ├── DisMax.md │ │ │ ├── FunctionScore.md │ │ │ ├── Fuzzy.md │ │ │ ├── HasChild.md │ │ │ ├── HasParent.md │ │ │ ├── Ids.md │ │ │ ├── Indices.md │ │ │ ├── Match.md │ │ │ ├── MatchAll.md │ │ │ ├── MoreLikeThis.md │ │ │ ├── MultiMatch.md │ │ │ ├── Nested.md │ │ │ ├── Prefix.md │ │ │ ├── QueryString.md │ │ │ ├── Range.md │ │ │ ├── Regexp.md │ │ │ ├── SimpleQueryString.md │ │ │ ├── SpanContaining.md │ │ │ ├── SpanWithin.md │ │ │ ├── Template.md │ │ │ ├── Term.md │ │ │ ├── Terms.md │ │ │ ├── Wildcard.md │ │ │ └── index.md │ │ ├── Suggest │ │ │ └── index.md │ │ └── index.md │ │ ├── phpunit.xml.dist │ │ ├── src │ │ ├── Aggregation │ │ │ ├── AbstractAggregation.php │ │ │ ├── AvgAggregation.php │ │ │ ├── Bucketing │ │ │ │ ├── ChildrenAggregation.php │ │ │ │ ├── DateHistogramAggregation.php │ │ │ │ ├── DateRangeAggregation.php │ │ │ │ ├── FilterAggregation.php │ │ │ │ ├── FiltersAggregation.php │ │ │ │ ├── GeoDistanceAggregation.php │ │ │ │ ├── GeoHashGridAggregation.php │ │ │ │ ├── GlobalAggregation.php │ │ │ │ ├── HistogramAggregation.php │ │ │ │ ├── Ipv4RangeAggregation.php │ │ │ │ ├── MissingAggregation.php │ │ │ │ ├── NestedAggregation.php │ │ │ │ ├── RangeAggregation.php │ │ │ │ ├── ReverseNestedAggregation.php │ │ │ │ ├── SamplerAggregation.php │ │ │ │ ├── SignificantTermsAggregation.php │ │ │ │ └── TermsAggregation.php │ │ │ ├── CardinalityAggregation.php │ │ │ ├── ChildrenAggregation.php │ │ │ ├── DateHistogramAggregation.php │ │ │ ├── DateRangeAggregation.php │ │ │ ├── ExtendedStatsAggregation.php │ │ │ ├── FilterAggregation.php │ │ │ ├── FiltersAggregation.php │ │ │ ├── GeoBoundsAggregation.php │ │ │ ├── GeoCentroidAggregation.php │ │ │ ├── GeoDistanceAggregation.php │ │ │ ├── GeoHashGridAggregation.php │ │ │ ├── GlobalAggregation.php │ │ │ ├── HistogramAggregation.php │ │ │ ├── Ipv4RangeAggregation.php │ │ │ ├── MaxAggregation.php │ │ │ ├── Metric │ │ │ │ ├── AvgAggregation.php │ │ │ │ ├── CardinalityAggregation.php │ │ │ │ ├── ExtendedStatsAggregation.php │ │ │ │ ├── GeoBoundsAggregation.php │ │ │ │ ├── GeoCentroidAggregation.php │ │ │ │ ├── MaxAggregation.php │ │ │ │ ├── MinAggregation.php │ │ │ │ ├── PercentileRanksAggregation.php │ │ │ │ ├── PercentilesAggregation.php │ │ │ │ ├── ScriptedMetricAggregation.php │ │ │ │ ├── StatsAggregation.php │ │ │ │ ├── SumAggregation.php │ │ │ │ ├── TopHitsAggregation.php │ │ │ │ └── ValueCountAggregation.php │ │ │ ├── MinAggregation.php │ │ │ ├── MissingAggregation.php │ │ │ ├── NestedAggregation.php │ │ │ ├── PercentileRanksAggregation.php │ │ │ ├── PercentilesAggregation.php │ │ │ ├── Pipeline │ │ │ │ ├── AbstractPipelineAggregation.php │ │ │ │ ├── AvgBucketAggregation.php │ │ │ │ ├── BucketScriptAggregation.php │ │ │ │ ├── BucketSelectorAggregation.php │ │ │ │ ├── CumulativeSumAggregation.php │ │ │ │ ├── DerivativeAggregation.php │ │ │ │ ├── ExtendedStatsBucketAggregation.php │ │ │ │ ├── MaxBucketAggregation.php │ │ │ │ ├── MinBucketAggregation.php │ │ │ │ ├── MovingAverageAggregation.php │ │ │ │ ├── PercentilesBucketAggregation.php │ │ │ │ ├── SerialDifferencingAggregation.php │ │ │ │ ├── StatsBucketAggregation.php │ │ │ │ └── SumBucketAggregation.php │ │ │ ├── RangeAggregation.php │ │ │ ├── ReverseNestedAggregation.php │ │ │ ├── SamplerAggregation.php │ │ │ ├── SignificantTermsAggregation.php │ │ │ ├── StatsAggregation.php │ │ │ ├── SumAggregation.php │ │ │ ├── TermsAggregation.php │ │ │ ├── TopHitsAggregation.php │ │ │ ├── Type │ │ │ │ ├── BucketingTrait.php │ │ │ │ └── MetricTrait.php │ │ │ └── ValueCountAggregation.php │ │ ├── BuilderBag.php │ │ ├── BuilderInterface.php │ │ ├── Highlight │ │ │ └── Highlight.php │ │ ├── InnerHit │ │ │ ├── NestedInnerHit.php │ │ │ └── ParentInnerHit.php │ │ ├── NameAwareTrait.php │ │ ├── ParametersTrait.php │ │ ├── Query │ │ │ ├── BoolQuery.php │ │ │ ├── BoostingQuery.php │ │ │ ├── CommonTermsQuery.php │ │ │ ├── ConstantScoreQuery.php │ │ │ ├── DisMaxQuery.php │ │ │ ├── ExistsQuery.php │ │ │ ├── FunctionScoreQuery.php │ │ │ ├── FuzzyQuery.php │ │ │ ├── GeoBoundingBoxQuery.php │ │ │ ├── GeoDistanceQuery.php │ │ │ ├── GeoDistanceRangeQuery.php │ │ │ ├── GeoPolygonQuery.php │ │ │ ├── GeoShapeQuery.php │ │ │ ├── GeohashCellQuery.php │ │ │ ├── HasChildQuery.php │ │ │ ├── HasParentQuery.php │ │ │ ├── IdsQuery.php │ │ │ ├── IndicesQuery.php │ │ │ ├── LimitQuery.php │ │ │ ├── MatchAllQuery.php │ │ │ ├── MatchPhrasePrefixQuery.php │ │ │ ├── MatchPhraseQuery.php │ │ │ ├── MatchQuery.php │ │ │ ├── MissingQuery.php │ │ │ ├── MoreLikeThisQuery.php │ │ │ ├── MultiMatchQuery.php │ │ │ ├── NestedQuery.php │ │ │ ├── PrefixQuery.php │ │ │ ├── QueryStringQuery.php │ │ │ ├── RangeQuery.php │ │ │ ├── RegexpQuery.php │ │ │ ├── ScriptQuery.php │ │ │ ├── SimpleQueryStringQuery.php │ │ │ ├── Span │ │ │ │ ├── SpanContainingQuery.php │ │ │ │ ├── SpanFirstQuery.php │ │ │ │ ├── SpanMultiTermQuery.php │ │ │ │ ├── SpanNearQuery.php │ │ │ │ ├── SpanNotQuery.php │ │ │ │ ├── SpanOrQuery.php │ │ │ │ ├── SpanQueryInterface.php │ │ │ │ ├── SpanTermQuery.php │ │ │ │ └── SpanWithinQuery.php │ │ │ ├── TemplateQuery.php │ │ │ ├── TermQuery.php │ │ │ ├── TermsQuery.php │ │ │ ├── TypeQuery.php │ │ │ └── WildcardQuery.php │ │ ├── ScriptAwareTrait.php │ │ ├── Search.php │ │ ├── SearchEndpoint │ │ │ ├── AbstractSearchEndpoint.php │ │ │ ├── AggregationsEndpoint.php │ │ │ ├── FilterEndpoint.php │ │ │ ├── HighlightEndpoint.php │ │ │ ├── InnerHitsEndpoint.php │ │ │ ├── PostFilterEndpoint.php │ │ │ ├── QueryEndpoint.php │ │ │ ├── SearchEndpointFactory.php │ │ │ ├── SearchEndpointInterface.php │ │ │ ├── SortEndpoint.php │ │ │ └── SuggestEndpoint.php │ │ ├── Serializer │ │ │ ├── Normalizer │ │ │ │ ├── AbstractNormalizable.php │ │ │ │ ├── CustomReferencedNormalizer.php │ │ │ │ └── OrderedNormalizerInterface.php │ │ │ └── OrderedSerializer.php │ │ ├── Sort │ │ │ └── FieldSort.php │ │ └── Suggest │ │ │ ├── CompletionSuggest.php │ │ │ ├── Suggest.php │ │ │ └── TermSuggest.php │ │ └── tests │ │ ├── Functional │ │ ├── AbstractElasticsearchTestCase.php │ │ └── Query │ │ │ └── MatchAllQueryTest.php │ │ └── Unit │ │ ├── Aggregation │ │ ├── CardinalityAggregationTest.php │ │ ├── ChildrenAggregationTest.php │ │ ├── DateHistogramAggregationTest.php │ │ ├── DateRangeAggregationTest.php │ │ ├── FilterAggregationTest.php │ │ ├── FiltersAggregationTest.php │ │ ├── GeoBoundsAggregationTest.php │ │ ├── GeoCentroidAggregationTest.php │ │ ├── GeoDistanceAggregationTest.php │ │ ├── GeoHashGridAggregationTest.php │ │ ├── GlobalAggregationTest.php │ │ ├── Ipv4RangeAggregationTest.php │ │ ├── MissingAggregationTest.php │ │ ├── NestedAggregationTest.php │ │ ├── PercentileRanksAggregationTest.php │ │ ├── PercentilesAggregationTest.php │ │ ├── Pipeline │ │ │ ├── AvgBucketAggregationTest.php │ │ │ ├── BucketScriptAggregationTest.php │ │ │ ├── BucketSelectorAggregationTest.php │ │ │ ├── CumulativeSumAggregationTest.php │ │ │ ├── DerivativeAggregationTest.php │ │ │ ├── ExtendedStatsBucketAggregationTest.php │ │ │ ├── MaxBucketAggregationTest.php │ │ │ ├── MinBucketAggregationTest.php │ │ │ ├── PercentilesBucketAggregationTest.php │ │ │ ├── SerialDifferencingAggregationTest.php │ │ │ ├── StatsBucketAggregationTest.php │ │ │ └── SumBucketAggregationTest.php │ │ ├── RangeAggregationTest.php │ │ ├── ReverseNestedAggregationTest.php │ │ ├── SamplerAggregationTest.php │ │ ├── SignificantTermsAggregationTest.php │ │ ├── StatsAggregationTest.php │ │ ├── TermsAggregationTest.php │ │ └── TopHitsAggregationTest.php │ │ ├── BuilderBagTest.php │ │ ├── Highlight │ │ └── HighlightTest.php │ │ ├── InnerHit │ │ ├── NestedInnerHitTest.php │ │ └── ParentInnerHitTest.php │ │ ├── Integration │ │ └── SearchTest.php │ │ ├── ParametersTraitTest.php │ │ ├── Query │ │ ├── BoolQueryTest.php │ │ ├── BoostingQueryTest.php │ │ ├── CommonTermsQueryTest.php │ │ ├── ConstantScoreQueryTest.php │ │ ├── DisMaxQueryTest.php │ │ ├── ExistsQueryTest.php │ │ ├── FunctionScoreQueryTest.php │ │ ├── FuzzyQueryTest.php │ │ ├── GeoBoundingBoxQueryTest.php │ │ ├── GeoDistanceQueryTest.php │ │ ├── GeoDistanceRangeQueryTest.php │ │ ├── GeoPolygonQueryTest.php │ │ ├── GeoShapeQueryTest.php │ │ ├── GeohashCellQueryTest.php │ │ ├── HasChildQueryTest.php │ │ ├── HasParentQueryTest.php │ │ ├── IdsQueryTest.php │ │ ├── IndicesQueryTest.php │ │ ├── LimitQueryTest.php │ │ ├── MatchAllQueryTest.php │ │ ├── MatchPhrasePrefixQueryTest.php │ │ ├── MatchPhraseQueryTest.php │ │ ├── MatchQueryTest.php │ │ ├── MissingQueryTest.php │ │ ├── MoreLikeThisQueryTest.php │ │ ├── MultiMatchQueryTest.php │ │ ├── NestedQueryTest.php │ │ ├── PrefixQueryTest.php │ │ ├── QueryStringQueryTest.php │ │ ├── RangeQueryTest.php │ │ ├── RegexpQueryTest.php │ │ ├── ScriptQueryTest.php │ │ ├── SimpleQueryStringQueryTest.php │ │ ├── Span │ │ │ ├── SpanContainingQueryTest.php │ │ │ ├── SpanFirstQueryTest.php │ │ │ ├── SpanMultiTermQueryTest.php │ │ │ ├── SpanNearQueryTest.php │ │ │ ├── SpanNotQueryTest.php │ │ │ ├── SpanOrQueryTest.php │ │ │ ├── SpanTermQueryTest.php │ │ │ └── SpanWithinQueryTest.php │ │ ├── TemplateQueryTest.php │ │ ├── TermQueryTest.php │ │ ├── TermsQueryTest.php │ │ ├── TypeQueryTest.php │ │ └── WildcardQueryTest.php │ │ ├── SearchEndpoint │ │ ├── AggregationsEndpointTest.php │ │ ├── FilterEndpointTest.php │ │ ├── HighlightEndpointTest.php │ │ ├── InnerHitsEndpointTest.php │ │ ├── PostFilterEndpointTest.php │ │ ├── QueryEndpointTest.php │ │ ├── SearchEndpointFactoryTest.php │ │ ├── SortEndpointTest.php │ │ └── SuggestEndpointTest.php │ │ ├── SearchTest.php │ │ └── Suggest │ │ ├── CompletionSuggestTest.php │ │ ├── SuggestTest.php │ │ └── TermSuggestTest.php ├── pimple │ └── pimple │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG │ │ ├── LICENSE │ │ ├── README.rst │ │ ├── composer.json │ │ ├── ext │ │ └── pimple │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── config.m4 │ │ │ ├── config.w32 │ │ │ ├── php_pimple.h │ │ │ ├── pimple.c │ │ │ ├── pimple_compat.h │ │ │ └── tests │ │ │ ├── 001.phpt │ │ │ ├── 002.phpt │ │ │ ├── 003.phpt │ │ │ ├── 004.phpt │ │ │ ├── 005.phpt │ │ │ ├── 006.phpt │ │ │ ├── 007.phpt │ │ │ ├── 008.phpt │ │ │ ├── 009.phpt │ │ │ ├── 010.phpt │ │ │ ├── 011.phpt │ │ │ ├── 012.phpt │ │ │ ├── 013.phpt │ │ │ ├── 014.phpt │ │ │ ├── 015.phpt │ │ │ ├── 016.phpt │ │ │ ├── 017.phpt │ │ │ ├── 017_1.phpt │ │ │ ├── 018.phpt │ │ │ ├── 019.phpt │ │ │ ├── bench.phpb │ │ │ └── bench_shared.phpb │ │ ├── phpunit.xml.dist │ │ └── src │ │ └── Pimple │ │ ├── Container.php │ │ ├── ServiceProviderInterface.php │ │ └── Tests │ │ ├── Fixtures │ │ ├── Invokable.php │ │ ├── NonInvokable.php │ │ ├── PimpleServiceProvider.php │ │ └── Service.php │ │ ├── PimpleServiceProviderInterfaceTest.php │ │ └── PimpleTest.php ├── psr │ └── log │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Psr │ │ └── Log │ │ │ ├── AbstractLogger.php │ │ │ ├── InvalidArgumentException.php │ │ │ ├── LogLevel.php │ │ │ ├── LoggerAwareInterface.php │ │ │ ├── LoggerAwareTrait.php │ │ │ ├── LoggerInterface.php │ │ │ ├── LoggerTrait.php │ │ │ ├── NullLogger.php │ │ │ └── Test │ │ │ └── LoggerInterfaceTest.php │ │ ├── README.md │ │ └── composer.json ├── react │ └── promise │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── composer.json │ │ ├── phpunit.xml.dist │ │ ├── src │ │ ├── CancellablePromiseInterface.php │ │ ├── CancellationQueue.php │ │ ├── Deferred.php │ │ ├── Exception │ │ │ └── LengthException.php │ │ ├── ExtendedPromiseInterface.php │ │ ├── FulfilledPromise.php │ │ ├── LazyPromise.php │ │ ├── Promise.php │ │ ├── PromiseInterface.php │ │ ├── PromisorInterface.php │ │ ├── RejectedPromise.php │ │ ├── UnhandledRejectionException.php │ │ ├── functions.php │ │ └── functions_include.php │ │ └── tests │ │ ├── CancellationQueueTest.php │ │ ├── DeferredTest.php │ │ ├── FulfilledPromiseTest.php │ │ ├── FunctionAllTest.php │ │ ├── FunctionAnyTest.php │ │ ├── FunctionCheckTypehintTest.php │ │ ├── FunctionMapTest.php │ │ ├── FunctionRaceTest.php │ │ ├── FunctionReduceTest.php │ │ ├── FunctionRejectTest.php │ │ ├── FunctionResolveTest.php │ │ ├── FunctionSomeTest.php │ │ ├── LazyPromiseTest.php │ │ ├── PromiseAdapter │ │ ├── CallbackPromiseAdapter.php │ │ └── PromiseAdapterInterface.php │ │ ├── PromiseTest.php │ │ ├── PromiseTest │ │ ├── CancelTestTrait.php │ │ ├── FullTestTrait.php │ │ ├── NotifyTestTrait.php │ │ ├── PromiseFulfilledTestTrait.php │ │ ├── PromisePendingTestTrait.php │ │ ├── PromiseRejectedTestTrait.php │ │ ├── PromiseSettledTestTrait.php │ │ ├── RejectTestTrait.php │ │ └── ResolveTestTrait.php │ │ ├── RejectedPromiseTest.php │ │ ├── Stub │ │ └── CallableStub.php │ │ ├── TestCase.php │ │ ├── bootstrap.php │ │ └── fixtures │ │ ├── SimpleFulfilledTestPromise.php │ │ ├── SimpleFulfilledTestThenable.php │ │ ├── SimpleRejectedTestPromise.php │ │ ├── SimpleTestCancellable.php │ │ └── SimpleTestCancellableThenable.php └── symfony │ └── serializer │ ├── .gitignore │ ├── Annotation │ ├── Groups.php │ └── MaxDepth.php │ ├── CHANGELOG.md │ ├── Encoder │ ├── ChainDecoder.php │ ├── ChainEncoder.php │ ├── CsvEncoder.php │ ├── DecoderInterface.php │ ├── EncoderInterface.php │ ├── JsonDecode.php │ ├── JsonEncode.php │ ├── JsonEncoder.php │ ├── NormalizationAwareInterface.php │ ├── SerializerAwareEncoder.php │ ├── XmlEncoder.php │ └── YamlEncoder.php │ ├── Exception │ ├── BadMethodCallException.php │ ├── CircularReferenceException.php │ ├── ExceptionInterface.php │ ├── InvalidArgumentException.php │ ├── LogicException.php │ ├── MappingException.php │ ├── RuntimeException.php │ ├── UnexpectedValueException.php │ └── UnsupportedException.php │ ├── LICENSE │ ├── Mapping │ ├── AttributeMetadata.php │ ├── AttributeMetadataInterface.php │ ├── ClassMetadata.php │ ├── ClassMetadataInterface.php │ ├── Factory │ │ ├── CacheClassMetadataFactory.php │ │ ├── ClassMetadataFactory.php │ │ ├── ClassMetadataFactoryInterface.php │ │ └── ClassResolverTrait.php │ └── Loader │ │ ├── AnnotationLoader.php │ │ ├── FileLoader.php │ │ ├── LoaderChain.php │ │ ├── LoaderInterface.php │ │ ├── XmlFileLoader.php │ │ ├── YamlFileLoader.php │ │ └── schema │ │ └── dic │ │ └── serializer-mapping │ │ └── serializer-mapping-1.0.xsd │ ├── NameConverter │ ├── CamelCaseToSnakeCaseNameConverter.php │ └── NameConverterInterface.php │ ├── Normalizer │ ├── AbstractNormalizer.php │ ├── AbstractObjectNormalizer.php │ ├── ArrayDenormalizer.php │ ├── CustomNormalizer.php │ ├── DataUriNormalizer.php │ ├── DateTimeNormalizer.php │ ├── DenormalizableInterface.php │ ├── DenormalizerAwareInterface.php │ ├── DenormalizerAwareTrait.php │ ├── DenormalizerInterface.php │ ├── GetSetMethodNormalizer.php │ ├── JsonSerializableNormalizer.php │ ├── NormalizableInterface.php │ ├── NormalizerAwareInterface.php │ ├── NormalizerAwareTrait.php │ ├── NormalizerInterface.php │ ├── ObjectNormalizer.php │ ├── PropertyNormalizer.php │ └── SerializerAwareNormalizer.php │ ├── README.md │ ├── Serializer.php │ ├── SerializerAwareInterface.php │ ├── SerializerAwareTrait.php │ ├── SerializerInterface.php │ ├── Tests │ ├── Annotation │ │ ├── GroupsTest.php │ │ └── MaxDepthTest.php │ ├── Encoder │ │ ├── ChainDecoderTest.php │ │ ├── ChainEncoderTest.php │ │ ├── CsvEncoderTest.php │ │ ├── JsonDecodeTest.php │ │ ├── JsonEncodeTest.php │ │ ├── JsonEncoderTest.php │ │ ├── XmlEncoderTest.php │ │ └── YamlEncoderTest.php │ ├── Fixtures │ │ ├── AbstractNormalizerDummy.php │ │ ├── CircularReferenceDummy.php │ │ ├── DenormalizableDummy.php │ │ ├── Dummy.php │ │ ├── GroupDummy.php │ │ ├── GroupDummyInterface.php │ │ ├── GroupDummyParent.php │ │ ├── JsonSerializableDummy.php │ │ ├── MaxDepthDummy.php │ │ ├── NormalizableTraversableDummy.php │ │ ├── PropertyCircularReferenceDummy.php │ │ ├── PropertySiblingHolder.php │ │ ├── ProxyDummy.php │ │ ├── ScalarDummy.php │ │ ├── SiblingHolder.php │ │ ├── StaticConstructorDummy.php │ │ ├── StaticConstructorNormalizer.php │ │ ├── ToBeProxyfiedDummy.php │ │ ├── TraversableDummy.php │ │ ├── VariadicConstructorArgsDummy.php │ │ ├── empty-mapping.yml │ │ ├── invalid-mapping.yml │ │ ├── serialization.yml │ │ ├── test.gif │ │ └── test.txt │ ├── Mapping │ │ ├── AttributeMetadataTest.php │ │ ├── ClassMetadataTest.php │ │ ├── Factory │ │ │ ├── CacheMetadataFactoryTest.php │ │ │ └── ClassMetadataFactoryTest.php │ │ ├── Loader │ │ │ ├── AnnotationLoaderTest.php │ │ │ ├── XmlFileLoaderTest.php │ │ │ └── YamlFileLoaderTest.php │ │ └── TestClassMetadataFactory.php │ ├── NameConverter │ │ └── CamelCaseToSnakeCaseNameConverterTest.php │ ├── Normalizer │ │ ├── AbstractNormalizerTest.php │ │ ├── AbstractObjectNormalizerTest.php │ │ ├── ArrayDenormalizerTest.php │ │ ├── CustomNormalizerTest.php │ │ ├── DataUriNormalizerTest.php │ │ ├── DateTimeNormalizerTest.php │ │ ├── GetSetMethodNormalizerTest.php │ │ ├── JsonSerializableNormalizerTest.php │ │ ├── ObjectNormalizerTest.php │ │ ├── PropertyNormalizerTest.php │ │ ├── TestDenormalizer.php │ │ └── TestNormalizer.php │ └── SerializerTest.php │ ├── composer.json │ └── phpunit.xml.dist └── views ├── css ├── admin │ ├── filter_template.css │ ├── global.css │ ├── index.php │ └── info.css ├── front │ ├── global.css │ └── index.php └── index.php ├── img ├── brad.png ├── index.php └── info │ ├── auction-premium.png │ ├── developers-badge.png │ ├── index.php │ ├── invertus_logo.png │ ├── product-labels-advanced.png │ ├── ps-platinum.png │ ├── related-products-premium.png │ └── youtube-product-simple.png ├── index.php ├── js ├── admin │ ├── custom-ranges.js │ ├── filter.js │ ├── filter_template.js │ └── index.php ├── front │ ├── filter.js │ ├── index.php │ └── search.js └── index.php └── templates ├── admin ├── custom-ranges.tpl ├── elasticsearch-actions.tpl ├── index.php ├── info.tpl └── template_filters_select.tpl ├── front ├── filter-template.tpl ├── index.php ├── loader.tpl ├── no-products-found.tpl ├── results-not-found-alert.tpl ├── search-input-autocomplete.tpl └── selected-filters.tpl ├── hook ├── displayTop.tpl └── index.php └── index.php /.gitignore: -------------------------------------------------------------------------------- 1 | *.xml 2 | logs/* 3 | !logs/.gitkeep 4 | tests/vendor -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "invertus/brad", 3 | "description": "Elasticsearch® module for PrestaShop that makes search and filter significantly faster", 4 | "type": "prestashop-module", 5 | "homepage": "http://bradsearch.io", 6 | "authors": [ 7 | { 8 | "name": "Invertus", 9 | "email": "info@invertus.eu" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "Invertus\\Brad\\": "src/" 15 | }, 16 | "classmap": [ 17 | "src/Entity", 18 | "controllers/" 19 | ] 20 | }, 21 | "require": { 22 | "pimple/pimple": "~3.0", 23 | "elasticsearch/elasticsearch": "~2.0", 24 | "monolog/monolog": "^1.0", 25 | "ongr/elasticsearch-dsl": "^2.2" 26 | }, 27 | "require-dev": { 28 | "phpunit/phpunit": "5.7.*" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/logo.png -------------------------------------------------------------------------------- /logs/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/logs/.gitkeep -------------------------------------------------------------------------------- /sql/.htaccess: -------------------------------------------------------------------------------- 1 | Deny from all -------------------------------------------------------------------------------- /sql/install/entity_criteria.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE IF NOT EXISTS `PREFIX_brad_criteria` ( 2 | `id_brad_criteria` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, 3 | `id_brad_filter` INT(11) UNSIGNED NOT NULL, 4 | `min_value` DECIMAL(20,6) NOT NULL, 5 | `max_value` DECIMAL(20,6) NOT NULL, 6 | `position` INT(11) UNSIGNED NOT NULL DEFAULT 0, 7 | PRIMARY KEY (`id_brad_criteria`, `id_brad_filter`) 8 | ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8; 9 | -------------------------------------------------------------------------------- /sql/install/entity_filter.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE IF NOT EXISTS `PREFIX_brad_filter` ( 2 | `id_brad_filter` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, 3 | `name` VARCHAR(100) NOT NULL, 4 | `filter_type` INT(11) NOT NULL, 5 | `filter_style` INT(11) UNSIGNED NOT NULL, 6 | `id_key` INT(11) UNSIGNED NOT NULL DEFAULT 0, 7 | `custom_height` INT(11) NOT NULL DEFAULT 0, 8 | `criteria_suffix` VARCHAR(10) NOT NULL DEFAULT '', 9 | `criteria_order_by` INT(11) UNSIGNED NOT NULL DEFAULT 0, 10 | `criteria_order_way` VARCHAR(5) NOT NULL DEFAULT '', 11 | PRIMARY KEY (`id_brad_filter`) 12 | ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8; 13 | 14 | CREATE TABLE IF NOT EXISTS `PREFIX_brad_filter_shop` ( 15 | `id_brad_filter` INT(11) UNSIGNED NOT NULL, 16 | `id_shop` INT(11) UNSIGNED NOT NULL, 17 | PRIMARY KEY (`id_brad_filter`, `id_shop`) 18 | ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8; 19 | -------------------------------------------------------------------------------- /sql/uninstall/uninstall.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `PREFIX_brad_filter`; 2 | DROP TABLE IF EXISTS `PREFIX_brad_filter_shop`; 3 | DROP TABLE IF EXISTS `PREFIX_brad_criteria`; 4 | DROP TABLE IF EXISTS `PREFIX_brad_filter_template`; 5 | DROP TABLE IF EXISTS `PREFIX_brad_filter_template_shop`; 6 | DROP TABLE IF EXISTS `PREFIX_brad_filter_template_filter`; 7 | DROP TABLE IF EXISTS `PREFIX_brad_filter_template_category`; 8 | -------------------------------------------------------------------------------- /tests/Unit/src/Service/Elasticsearch/Builder/ClientBuilderTest.php: -------------------------------------------------------------------------------- 1 | buildClient(); 12 | 13 | $this->assertInstanceOf('\Elasticsearch\Client', $client); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /vendor/.htaccess: -------------------------------------------------------------------------------- 1 | Deny from all -------------------------------------------------------------------------------- /vendor/autoload.php: -------------------------------------------------------------------------------- 1 | $vendorDir . '/react/promise/src/functions_include.php', 10 | ); 11 | -------------------------------------------------------------------------------- /vendor/composer/autoload_namespaces.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/pimple/pimple/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /vendor/composer/autoload_psr4.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/symfony/serializer'), 10 | 'React\\Promise\\' => array($vendorDir . '/react/promise/src'), 11 | 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'), 12 | 'ONGR\\ElasticsearchDSL\\' => array($vendorDir . '/ongr/elasticsearch-dsl/src'), 13 | 'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'), 14 | 'Invertus\\Brad\\' => array($baseDir . '/src'), 15 | 'GuzzleHttp\\Stream\\' => array($vendorDir . '/guzzlehttp/streams/src'), 16 | 'GuzzleHttp\\Ring\\' => array($vendorDir . '/guzzlehttp/ringphp/src'), 17 | 'Elasticsearch\\' => array($vendorDir . '/elasticsearch/elasticsearch/src/Elasticsearch'), 18 | ); 19 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | ### Summary of problem or feature request 3 | 4 | 5 | 6 | 7 | ### Code snippet of problem 8 | 9 | 19 | 20 | ### System details 21 | 22 | 27 | 28 | - Operating System 29 | - PHP Version 30 | - ES-PHP client version 31 | - Elasticsearch version -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/.gitignore: -------------------------------------------------------------------------------- 1 | #composer related 2 | composer.lock 3 | vendor/ 4 | composer.phar 5 | .php_cs.cache 6 | 7 | #editor related 8 | .idea 9 | 10 | # OS generated files 11 | .DS_Store 12 | .DS_Store? 13 | ._* 14 | .Spotlight-V100 15 | .Trashes 16 | Icon? 17 | ehthumbs.db 18 | Thumbs.db 19 | 20 | #generator related 21 | generator/* 22 | 23 | # Elasticsearch related 24 | util/elasticsearch/ 25 | util/cache/ 26 | util/output 27 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "util/elasticsearch"] 2 | path = util/elasticsearch 3 | url = https://github.com/elasticsearch/elasticsearch.git 4 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/.php_cs: -------------------------------------------------------------------------------- 1 | exclude('benchmarks') 6 | ->exclude('docs') 7 | ->exclude('util') 8 | ->in(__DIR__); 9 | 10 | return Symfony\CS\Config\Config::create() 11 | ->setUsingCache(true) 12 | ->level(Symfony\CS\FixerInterface::PSR2_LEVEL) 13 | ->finder($finder); 14 | } 15 | 16 | return php_cs(); 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/docs/breaking-changes.asciidoc: -------------------------------------------------------------------------------- 1 | 2 | == Breaking changes from 1.x 3 | 4 | - The client now requires PHP version 5.4 or higher 5 | - The entire client configuration and initialization system has changed to a builder pattern. Please see 6 | link:_configuration.html[Configuration] for more details 7 | - Notably, `GuzzleConnection` and `CurlMultiConnection` have been removed. If your code relied on these classes specifically, 8 | or configured cURL options explicitly, please see the docs about how the new HTTP handler functions 9 | - The client no longer ships with a default logger, and Monolog has been moved to "suggest". Please see 10 | <> for details on how to use Monolog (or equivalent PSR/Log implementation) 11 | - `custom` parameters are now part of the `client` options (e.g. `['client' => ['custom' => 'abc'] ]`) 12 | - Exception ignoring is now now part of the `client` options (e.g. `['client' => ['ignore' => 404] ]`) 13 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/docs/build/PROJECT_VERSION: -------------------------------------------------------------------------------- 1 | master -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/docs/build/SAMI_VERSION: -------------------------------------------------------------------------------- 1 | 3.2.1-DEV -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/docs/build/interfaces.asciidoc: -------------------------------------------------------------------------------- 1 | 2 | [[ElasticsearchPHP_Interfaces]] 3 | == Reference - Interfaces 4 | 5 | This is a complete list of available interfaces: 6 | 7 | * There are no interfaces available. 8 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/docs/build/namespaces.asciidoc: -------------------------------------------------------------------------------- 1 | 2 | [[ElasticsearchPHP_Namespaces]] 3 | == Reference - Namespaces 4 | 5 | This is a complete list of available namespaces: 6 | 7 | * <> 8 | * <> 9 | include::Elasticsearch.asciidoc[] 10 | include::Elasticsearch/Namespaces.asciidoc[] 11 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/docs/build/renderer.index: -------------------------------------------------------------------------------- 1 | C:19:"Sami\Renderer\Index":847:{a:3:{i:0;a:8:{s:20:"Elasticsearch\Client";s:40:"6b1ede99d00d94b50cb4fda03ee01292a5adcda6";s:27:"Elasticsearch\ClientBuilder";s:40:"f1e45c6eeb1dc173401ecabc3a0384d0fbce62a5";s:37:"Elasticsearch\Namespaces\CatNamespace";s:40:"3edea1782073fadcbd895dd28e3bf971618a2282";s:41:"Elasticsearch\Namespaces\ClusterNamespace";s:40:"67e88dd382a1115f04b340950898920a6b668dbd";s:41:"Elasticsearch\Namespaces\IndicesNamespace";s:40:"7bbcdd6663caf3a4e4e7245daaf39f9d1518a0e6";s:39:"Elasticsearch\Namespaces\NodesNamespace";s:40:"a47598ee01afe2df1bf67657699ef1401b6ad727";s:42:"Elasticsearch\Namespaces\SnapshotNamespace";s:40:"4654104e18d5de0528d03ae8fe6e6417f8022aeb";s:38:"Elasticsearch\Namespaces\TaskNamespace";s:40:"0b2591489bede759668f9e4143c181adc235556a";}i:1;a:1:{i:0;s:6:"master";}i:2;a:2:{i:0;s:13:"Elasticsearch";i:1;s:24:"Elasticsearch\Namespaces";}}} -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/docs/index.asciidoc: -------------------------------------------------------------------------------- 1 | 2 | = Elasticsearch-PHP 3 | 4 | include::overview.asciidoc[] 5 | 6 | include::quickstart.asciidoc[] 7 | 8 | include::installation.asciidoc[] 9 | 10 | include::configuration.asciidoc[] 11 | 12 | include::per-request-configuration.asciidoc[] 13 | 14 | include::futures.asciidoc[] 15 | 16 | include::php_json_objects.asciidoc[] 17 | 18 | include::index-operations.asciidoc[] 19 | 20 | include::crud.asciidoc[] 21 | 22 | include::search-operations.asciidoc[] 23 | 24 | include::namespaces.asciidoc[] 25 | 26 | include::security.asciidoc[] 27 | 28 | include::connection-pool.asciidoc[] 29 | 30 | include::selectors.asciidoc[] 31 | 32 | include::serializers.asciidoc[] 33 | 34 | include::php-version-requirement.asciidoc[] 35 | 36 | include::breaking-changes.asciidoc[] 37 | 38 | include::community.asciidoc[] 39 | 40 | include::build/classes.asciidoc[] 41 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/docs/overview.asciidoc: -------------------------------------------------------------------------------- 1 | == Overview 2 | 3 | This is the official PHP client for Elasticsearch. It is designed to be a very low-level client that does not stray from the REST API. 4 | 5 | All methods closely match the REST API, and furthermore, match the method structure of other language clients (ruby, python, etc). We hope that this consistency makes it easy to get started with a client, and to seamlessly switch from one language to the next with minimal effort. 6 | 7 | The client is designed to be "unopinionated". There are a few universal niceties added to the client (cluster state sniffing, round-robin requests, etc) but largely it is very barebones. This was intentional. We want a common base that more sophisticated libraries can build on top of. 8 | 9 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/docs/php-version-requirement.asciidoc: -------------------------------------------------------------------------------- 1 | == PHP Version Requirement 2 | 3 | Version 2.0 of Elasticsearch-PHP requires PHP version 5.4.0 or higher. 4 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/AlreadyExpiredException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class AlreadyExpiredException extends \Exception implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/BadMethodCallException.php: -------------------------------------------------------------------------------- 1 | 13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 14 | * @link http://elasticsearch.org 15 | */ 16 | class BadMethodCallException extends \BadMethodCallException implements ElasticsearchException 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/BadRequest400Exception.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class BadRequest400Exception extends \Exception implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/ClientErrorResponseException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class ClientErrorResponseException extends TransportException implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Conflict409Exception.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class Conflict409Exception extends \Exception implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Curl/CouldNotConnectToHost.php: -------------------------------------------------------------------------------- 1 | 14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 15 | * @link http://elasticsearch.org 16 | */ 17 | class CouldNotConnectToHost extends TransportException implements ElasticsearchException 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Curl/CouldNotResolveHostException.php: -------------------------------------------------------------------------------- 1 | 14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 15 | * @link http://elasticsearch.org 16 | */ 17 | class CouldNotResolveHostException extends TransportException implements ElasticsearchException 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Curl/OperationTimeoutException.php: -------------------------------------------------------------------------------- 1 | 14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 15 | * @link http://elasticsearch.org 16 | */ 17 | class OperationTimeoutException extends TransportException implements ElasticsearchException 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/ElasticsearchException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | interface ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Forbidden403Exception.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class Forbidden403Exception extends \Exception implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | 13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 14 | * @link http://elasticsearch.org 15 | */ 16 | class InvalidArgumentException extends \InvalidArgumentException implements ElasticsearchException 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/MaxRetriesException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class MaxRetriesException extends TransportException implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/Missing404Exception.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class Missing404Exception extends \Exception implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/NoDocumentsToGetException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class NoDocumentsToGetException extends ServerErrorResponseException implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/NoNodesAvailableException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class NoNodesAvailableException extends \Exception implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/NoShardAvailableException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class NoShardAvailableException extends ServerErrorResponseException implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/RequestTimeout408Exception.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class RequestTimeout408Exception extends BadRequest400Exception implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/RoutingMissingException.php: -------------------------------------------------------------------------------- 1 | 12 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 13 | * @link http://elasticsearch.org 14 | */ 15 | class RoutingMissingException extends ServerErrorResponseException implements ElasticsearchException 16 | { 17 | } 18 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class RuntimeException extends \RuntimeException implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/ScriptLangNotSupportedException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class ScriptLangNotSupportedException extends BadRequest400Exception implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/ServerErrorResponseException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class ServerErrorResponseException extends TransportException implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/TransportException.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class TransportException extends \Exception implements ElasticsearchException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Common/Exceptions/UnexpectedValueException.php: -------------------------------------------------------------------------------- 1 | 13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 14 | * @link http://elasticsearch.org 15 | */ 16 | class UnexpectedValueException extends \UnexpectedValueException implements ElasticsearchException 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/ConnectionPoolInterface.php: -------------------------------------------------------------------------------- 1 | 13 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 14 | * @link http://elasticsearch.org 15 | */ 16 | interface ConnectionPoolInterface 17 | { 18 | /** 19 | * @param bool $force 20 | * 21 | * @return ConnectionInterface 22 | */ 23 | public function nextConnection($force = false); 24 | 25 | /** 26 | * @return void 27 | */ 28 | public function scheduleCheck(); 29 | } 30 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/Selectors/SelectorInterface.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | interface SelectorInterface 15 | { 16 | /** 17 | * Perform logic to select a single ConnectionInterface instance from the array provided 18 | * 19 | * @param ConnectionInterface[] $connections an array of ConnectionInterface instances to choose from 20 | * 21 | * @return \Elasticsearch\Connections\ConnectionInterface 22 | */ 23 | public function select($connections); 24 | } 25 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/BulkEndpointInterface.php: -------------------------------------------------------------------------------- 1 | 14 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 15 | * @link http://elasticsearch.org 16 | */ 17 | interface BulkEndpointInterface 18 | { 19 | /** 20 | * Constructor 21 | * 22 | * @param Transport $transport Transport instance 23 | * @param SerializerInterface $serializer A serializer 24 | */ 25 | public function __construct(Transport $transport, SerializerInterface $serializer); 26 | } 27 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Info.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class Info extends AbstractEndpoint 15 | { 16 | /** 17 | * @return string 18 | */ 19 | protected function getURI() 20 | { 21 | $uri = "/"; 22 | 23 | return $uri; 24 | } 25 | 26 | /** 27 | * @return string[] 28 | */ 29 | protected function getParamWhitelist() 30 | { 31 | return [ 32 | ]; 33 | } 34 | 35 | /** 36 | * @return string 37 | */ 38 | protected function getMethod() 39 | { 40 | return 'GET'; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Ping.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class Ping extends AbstractEndpoint 15 | { 16 | /** 17 | * @return string 18 | */ 19 | protected function getURI() 20 | { 21 | $uri = "/"; 22 | 23 | return $uri; 24 | } 25 | 26 | /** 27 | * @return string[] 28 | */ 29 | protected function getParamWhitelist() 30 | { 31 | return [ 32 | ]; 33 | } 34 | 35 | /** 36 | * @return string 37 | */ 38 | protected function getMethod() 39 | { 40 | return 'HEAD'; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/ConnectionPool/SniffingConnectionPoolIntegrationTest.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 12 | * @link http://elasticsearch.org 13 | */ 14 | class SniffingConnectionPoolIntegrationTest extends \PHPUnit_Framework_TestCase 15 | { 16 | public function testSniff() 17 | { 18 | $client = ClientBuilder::create() 19 | ->setHosts([$_SERVER['ES_TEST_HOST']]) 20 | ->setConnectionPool('\Elasticsearch\ConnectionPool\SniffingConnectionPool', ['sniffingInterval' => -10]) 21 | ->build(); 22 | 23 | $client->ping(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | > 18 | {% else %} 19 | * There are no endpoints available. 20 | {% endfor %} 21 | {% for class in classes if not class.interface %} 22 | include::{{ back_to_forward(class) }}.asciidoc[] 23 | {% else %} 24 | {% endfor %} 25 | {% endblock %} 26 | 27 | 28 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/util/docstheme/pages/interfaces.twig: -------------------------------------------------------------------------------- 1 | {% extends "layout/base.twig" %} 2 | 3 | {% from "macros.twig" import class_item, replace_backslash, back_to_forward, sanitize %} 4 | 5 | {% block title %} 6 | [[{{ sanitize(replace_backslash("ElasticsearchPHP_Interfaces")) }}]] 7 | == {{ "Reference - Interfaces" }} 8 | {% endblock %} 9 | 10 | {% block content %} 11 | 12 | This is a complete list of available interfaces: 13 | 14 | {% for interface in classes if interface.interface %} 15 | * <<{{ replace_backslash(interface) }}, {{ interface }}>> 16 | {% else %} 17 | * There are no interfaces available. 18 | {% endfor %} 19 | {% for interface in classes if interface.interface %} 20 | include::{{ back_to_forward(interface) }}.asciidoc[] 21 | {% else %} 22 | {% endfor %} 23 | {% endblock %} 24 | -------------------------------------------------------------------------------- /vendor/elasticsearch/elasticsearch/util/docstheme/pages/namespaces.twig: -------------------------------------------------------------------------------- 1 | {% extends "layout/base.twig" %} 2 | 3 | {% from "macros.twig" import markdown_path, replace_backslash, back_to_forward, sanitize %} 4 | 5 | {% block title %} 6 | [[{{ sanitize(replace_backslash("ElasticsearchPHP_Namespaces")) }}]] 7 | == {{ "Reference - Namespaces" }} 8 | {% endblock %} 9 | 10 | {% block content %} 11 | 12 | This is a complete list of available namespaces: 13 | 14 | {% for namespace in namespaces %} 15 | * <<{{ replace_backslash(namespace) }}, {{ namespace }}>> 16 | {% else %} 17 | * There are no namespaces available. 18 | {% endfor %} 19 | {% for namespace in namespaces %} 20 | include::{{ back_to_forward(namespace) }}.asciidoc[] 21 | {% else %} 22 | {% endfor %} 23 | {% endblock %} 24 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/ringphp/.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | build/artifacts/ 3 | composer.lock 4 | docs/_build/ 5 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/ringphp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 5.4 5 | - 5.5 6 | - 5.6 7 | - 7.0 8 | - hhvm 9 | 10 | before_script: 11 | - composer self-update 12 | - composer install --no-interaction --prefer-source --dev 13 | - ~/.nvm/nvm.sh install v0.6.14 14 | - ~/.nvm/nvm.sh run v0.6.14 15 | 16 | script: 17 | - make test 18 | 19 | matrix: 20 | allow_failures: 21 | - php: hhvm 22 | fast_finish: true 23 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/ringphp/docs/conf.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | import sphinx_rtd_theme 3 | from sphinx.highlighting import lexers 4 | from pygments.lexers.web import PhpLexer 5 | 6 | 7 | lexers['php'] = PhpLexer(startinline=True, linenos=1) 8 | lexers['php-annotations'] = PhpLexer(startinline=True, linenos=1) 9 | primary_domain = 'php' 10 | 11 | extensions = [] 12 | templates_path = ['_templates'] 13 | source_suffix = '.rst' 14 | master_doc = 'index' 15 | project = u'RingPHP' 16 | copyright = u'2014, Michael Dowling' 17 | version = '1.0.0-alpha' 18 | exclude_patterns = ['_build'] 19 | 20 | html_title = "RingPHP" 21 | html_short_title = "RingPHP" 22 | html_theme = "sphinx_rtd_theme" 23 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] 24 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/ringphp/docs/requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx_rtd_theme 2 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/ringphp/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | tests 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/ringphp/src/Exception/CancelledException.php: -------------------------------------------------------------------------------- 1 | _value[$offset]); 14 | } 15 | 16 | public function offsetGet($offset) 17 | { 18 | return $this->_value[$offset]; 19 | } 20 | 21 | public function offsetSet($offset, $value) 22 | { 23 | $this->_value[$offset] = $value; 24 | } 25 | 26 | public function offsetUnset($offset) 27 | { 28 | unset($this->_value[$offset]); 29 | } 30 | 31 | public function count() 32 | { 33 | return count($this->_value); 34 | } 35 | 36 | public function getIterator() 37 | { 38 | return new \ArrayIterator($this->_value); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/ringphp/src/Future/FutureArrayInterface.php: -------------------------------------------------------------------------------- 1 | 'bar']); 11 | $this->assertEquals('bar', $f['foo']); 12 | $this->assertFalse(isset($f['baz'])); 13 | $f['abc'] = '123'; 14 | $this->assertTrue(isset($f['abc'])); 15 | $this->assertEquals(['foo' => 'bar', 'abc' => '123'], iterator_to_array($f)); 16 | $this->assertEquals(2, count($f)); 17 | unset($f['abc']); 18 | $this->assertEquals(1, count($f)); 19 | $this->assertEquals(['foo' => 'bar'], iterator_to_array($f)); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/ringphp/tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | =5.4.0" 16 | }, 17 | "require-dev": { 18 | "phpunit/phpunit": "~4.0" 19 | }, 20 | "autoload": { 21 | "psr-4": { "GuzzleHttp\\Stream\\": "src/" } 22 | }, 23 | "extra": { 24 | "branch-alias": { 25 | "dev-master": "3.0-dev" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/streams/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | tests 7 | 8 | 9 | 10 | 11 | src 12 | 13 | src/functions.php 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/streams/src/Exception/CannotAttachException.php: -------------------------------------------------------------------------------- 1 | stream = $stream; 16 | $msg = $msg ?: 'Could not seek the stream to position ' . $pos; 17 | parent::__construct($msg); 18 | } 19 | 20 | /** 21 | * @return StreamInterface 22 | */ 23 | public function getStream() 24 | { 25 | return $this->stream; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/streams/src/MetadataStreamInterface.php: -------------------------------------------------------------------------------- 1 | stream->attach($stream); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/streams/tests/Exception/SeekExceptionTest.php: -------------------------------------------------------------------------------- 1 | assertSame($s, $e->getStream()); 14 | $this->assertContains('10', $e->getMessage()); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/streams/tests/InflateStreamTest.php: -------------------------------------------------------------------------------- 1 | assertEquals('test', (string) $b); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/doc/03-utilities.md: -------------------------------------------------------------------------------- 1 | # Utilities 2 | 3 | - _Registry_: The `Monolog\Registry` class lets you configure global loggers that you 4 | can then statically access from anywhere. It is not really a best practice but can 5 | help in some older codebases or for ease of use. 6 | - _ErrorHandler_: The `Monolog\ErrorHandler` class allows you to easily register 7 | a Logger instance as an exception handler, error handler or fatal error handler. 8 | - _ErrorLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain log 9 | level is reached. 10 | - _ChannelLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain 11 | log level is reached, depending on which channel received the log record. 12 | 13 | ← [Handlers, Formatters and Processors](02-handlers-formatters-processors.md) | [Extending Monolog](04-extending.md) → 14 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | tests/Monolog/ 7 | 8 | 9 | 10 | 11 | 12 | src/Monolog/ 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.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 Monolog\Handler\FingersCrossed; 13 | 14 | /** 15 | * Interface for activation strategies for the FingersCrossedHandler. 16 | * 17 | * @author Johannes M. Schmitt 18 | */ 19 | interface ActivationStrategyInterface 20 | { 21 | /** 22 | * Returns whether the given record activates the handler. 23 | * 24 | * @param array $record 25 | * @return Boolean 26 | */ 27 | public function isHandlerActivated(array $record); 28 | } 29 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.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 Monolog\Handler\FingersCrossed; 13 | 14 | use Monolog\Logger; 15 | 16 | /** 17 | * Error level based activation strategy. 18 | * 19 | * @author Johannes M. Schmitt 20 | */ 21 | class ErrorLevelActivationStrategy implements ActivationStrategyInterface 22 | { 23 | private $actionLevel; 24 | 25 | public function __construct($actionLevel) 26 | { 27 | $this->actionLevel = Logger::toMonologLevel($actionLevel); 28 | } 29 | 30 | public function isHandlerActivated(array $record) 31 | { 32 | return $record['level'] >= $this->actionLevel; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/MissingExtensionException.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 Monolog\Handler; 13 | 14 | /** 15 | * Exception can be thrown if an extension for an handler is missing 16 | * 17 | * @author Christian Bergau 18 | */ 19 | class MissingExtensionException extends \Exception 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.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 Monolog\Processor; 13 | 14 | /** 15 | * Injects memory_get_usage in all records 16 | * 17 | * @see Monolog\Processor\MemoryProcessor::__construct() for options 18 | * @author Rob Jensen 19 | */ 20 | class MemoryUsageProcessor extends MemoryProcessor 21 | { 22 | /** 23 | * @param array $record 24 | * @return array 25 | */ 26 | public function __invoke(array $record) 27 | { 28 | $bytes = memory_get_usage($this->realUsage); 29 | $formatted = $this->formatBytes($bytes); 30 | 31 | $record['extra']['memory_usage'] = $formatted; 32 | 33 | return $record; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.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 Monolog\Processor; 13 | 14 | /** 15 | * Adds value of getmypid into records 16 | * 17 | * @author Andreas Hörnicke 18 | */ 19 | class ProcessIdProcessor 20 | { 21 | /** 22 | * @param array $record 23 | * @return array 24 | */ 25 | public function __invoke(array $record) 26 | { 27 | $record['extra']['process_id'] = getmypid(); 28 | 29 | return $record; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.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 Monolog\Handler; 13 | 14 | use Monolog\TestCase; 15 | use Monolog\Logger; 16 | 17 | class CouchDBHandlerTest extends TestCase 18 | { 19 | public function testHandle() 20 | { 21 | $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); 22 | 23 | $handler = new CouchDBHandler(); 24 | 25 | try { 26 | $handler->handle($record); 27 | } catch (\RuntimeException $e) { 28 | $this->markTestSkipped('Could not connect to couchdb server on http://localhost:5984'); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/vendor/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/GelfMockMessagePublisher.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 Monolog\Handler; 13 | 14 | use Gelf\MessagePublisher; 15 | use Gelf\Message; 16 | 17 | class GelfMockMessagePublisher extends MessagePublisher 18 | { 19 | public function publish(Message $message) 20 | { 21 | $this->lastMessage = $message; 22 | } 23 | 24 | public $lastMessage = null; 25 | } 26 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/MockRavenClient.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 Monolog\Handler; 13 | 14 | use Raven_Client; 15 | 16 | class MockRavenClient extends Raven_Client 17 | { 18 | public function capture($data, $stack, $vars = null) 19 | { 20 | $data = array_merge($this->get_user_data(), $data); 21 | $this->lastData = $data; 22 | $this->lastStack = $stack; 23 | } 24 | 25 | public $lastData; 26 | public $lastStack; 27 | } 28 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.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 Monolog\Handler; 13 | 14 | use Monolog\TestCase; 15 | use Monolog\Logger; 16 | 17 | /** 18 | * @covers Monolog\Handler\NullHandler::handle 19 | */ 20 | class NullHandlerTest extends TestCase 21 | { 22 | public function testHandle() 23 | { 24 | $handler = new NullHandler(); 25 | $this->assertTrue($handler->handle($this->getRecord())); 26 | } 27 | 28 | public function testHandleLowerLevelRecord() 29 | { 30 | $handler = new NullHandler(Logger::WARNING); 31 | $this->assertFalse($handler->handle($this->getRecord(Logger::DEBUG))); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.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 Monolog\Processor; 13 | 14 | use Monolog\TestCase; 15 | 16 | class GitProcessorTest extends TestCase 17 | { 18 | /** 19 | * @covers Monolog\Processor\GitProcessor::__invoke 20 | */ 21 | public function testProcessor() 22 | { 23 | $processor = new GitProcessor(); 24 | $record = $processor($this->getRecord()); 25 | 26 | $this->assertArrayHasKey('git', $record['extra']); 27 | $this->assertTrue(!is_array($record['extra']['git']['branch'])); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.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 Monolog\Processor; 13 | 14 | use Monolog\TestCase; 15 | 16 | class UidProcessorTest extends TestCase 17 | { 18 | /** 19 | * @covers Monolog\Processor\UidProcessor::__invoke 20 | */ 21 | public function testProcessor() 22 | { 23 | $processor = new UidProcessor(); 24 | $record = $processor($this->getRecord()); 25 | $this->assertArrayHasKey('uid', $record['extra']); 26 | } 27 | 28 | public function testGetUid() 29 | { 30 | $processor = new UidProcessor(10); 31 | $this->assertEquals(10, strlen($processor->getUid())); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/.coveralls.yml: -------------------------------------------------------------------------------- 1 | coverage_clover: coverage.clover 2 | service_name: travis-ci 3 | src_dir: ./ 4 | json_path: ./coveralls.json 5 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | /phpunit.xml 3 | /composer.lock 4 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/Avg.md: -------------------------------------------------------------------------------- 1 | # Avg Aggregation 2 | 3 | > More info about avg aggregation is in the [official elasticsearch docs][1] 4 | 5 | A single-value metrics aggregation that computes the average of numeric values that are extracted from the aggregated documents. 6 | 7 | 8 | ## Simple example 9 | 10 | ```JSON 11 | { 12 | "aggregations": { 13 | "avg_grade": { 14 | "avg": { 15 | "field": "grade" 16 | } 17 | } 18 | } 19 | } 20 | ``` 21 | 22 | And now the query via DSL: 23 | 24 | ```php 25 | $avgAggregation = new AvgAggregation('avg_grade'); 26 | $avgAggregation->setField('grade'); 27 | 28 | $search = new Search(); 29 | $search->addAggregation($avgAggregation); 30 | 31 | $queryArray = $search->toArray(); 32 | ``` 33 | 34 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-avg-aggregation.html 35 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/Cardinality.md: -------------------------------------------------------------------------------- 1 | # Cardinality Aggregation 2 | 3 | > More info about cardinality aggregation is in the [official elasticsearch docs][1] 4 | 5 | A single-value metrics aggregation that calculates an approximate count of distinct values. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "aggregations" : { 12 | "author_count" : { 13 | "cardinality" : { 14 | "field" : "author" 15 | } 16 | } 17 | } 18 | } 19 | ``` 20 | 21 | And now the query via DSL: 22 | 23 | ```php 24 | $cardinalityAggregation = new CardinalityAggregation('author_count'); 25 | $cardinalityAggregation->setField('author'); 26 | 27 | $search = new Search(); 28 | $search->addAggregation($cardinalityAggregation); 29 | 30 | $queryArray = $search->toArray(); 31 | ``` 32 | 33 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-cardinality-aggregation.html 34 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/ExtendedStats.md: -------------------------------------------------------------------------------- 1 | # Extended Stats Aggregation 2 | 3 | > More info about extended stats aggregation is in the [official elasticsearch docs][1] 4 | 5 | A multi-value metrics aggregation that computes stats over numeric values extracted from the aggregated documents. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "aggregations" : { 12 | "grades_stats" : { 13 | "extended_stats" : { "field" : "grade" } 14 | } 15 | } 16 | } 17 | ``` 18 | 19 | And now the query via DSL: 20 | 21 | ```php 22 | $extendedStatsAggregation = new ExtendedStatsAggregation('grades_stats', 'grade'); 23 | 24 | $search = new Search(); 25 | $search->addAggregation($extendedStatsAggregation); 26 | 27 | $queryArray = $search->toArray(); 28 | ``` 29 | 30 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-extendedstats-aggregation.html 31 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/GeoBounds.md: -------------------------------------------------------------------------------- 1 | # Geo Bounds Aggregation 2 | 3 | > More info about geo bounds aggregation is in the [official elasticsearch docs][1] 4 | 5 | A metric aggregation that computes the bounding box containing all geo_point values for a field. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "aggregations" : { 12 | "viewport" : { 13 | "geo_bounds" : { 14 | "field" : "location", 15 | "wrap_longitude" : true 16 | } 17 | } 18 | } 19 | } 20 | ``` 21 | 22 | And now the query via DSL: 23 | 24 | ```php 25 | $geoBoundsAggregation = new GeoBoundsAggregation('viewport', 'location'); 26 | 27 | $search = new Search(); 28 | $search->addAggregation($geoBoundsAggregation); 29 | 30 | $queryArray = $search->toArray(); 31 | ``` 32 | 33 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-geobounds-aggregation.html 34 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/Max.md: -------------------------------------------------------------------------------- 1 | # Max Aggregation 2 | 3 | > More info about max aggregation is in the [official elasticsearch docs][1] 4 | 5 | A single-value metrics aggregation that keeps track and returns the 6 | maximum value among the numeric values extracted from the aggregated documents. 7 | 8 | ## Simple example 9 | 10 | ```JSON 11 | { 12 | "aggregations" : { 13 | "max_price" : { "max" : { "field" : "price" } } 14 | } 15 | } 16 | ``` 17 | 18 | And now the query via DSL: 19 | 20 | ```php 21 | $maxAggregation = new MaxAggregation('max_price', 'price'); 22 | 23 | $search = new Search(); 24 | $search->addAggregation($maxAggregation); 25 | 26 | $queryArray = $search->toArray(); 27 | ``` 28 | 29 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-max-aggregation.html 30 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/Min.md: -------------------------------------------------------------------------------- 1 | # Min Aggregation 2 | 3 | > More info about min aggregation is in the [official elasticsearch docs][1] 4 | 5 | A single-value metrics aggregation that keeps track and returns the minimum value among 6 | numeric values extracted from the aggregated documents. 7 | 8 | ## Simple example 9 | 10 | ```JSON 11 | { 12 | "aggregations" : { 13 | "min_price" : { "min" : { "field" : "price" } } 14 | } 15 | } 16 | ``` 17 | 18 | And now the query via DSL: 19 | 20 | ```php 21 | $minAggregation = new MinAggregation('min_price', 'price'); 22 | 23 | $search = new Search(); 24 | $search->addAggregation($minAggregation); 25 | 26 | $queryArray = $search->toArray(); 27 | ``` 28 | 29 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-min-aggregation.html 30 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/Missing.md: -------------------------------------------------------------------------------- 1 | # Missing Aggregation 2 | 3 | > More info about missing aggregation is in the [official elasticsearch docs][1] 4 | 5 | A field data based single bucket aggregation, that creates a bucket of all documents 6 | in the current document set context that are missing a field value. 7 | 8 | ## Simple example 9 | 10 | ```JSON 11 | { 12 | "aggregations" : { 13 | "products_without_a_price" : { 14 | "missing" : { "field" : "price" } 15 | } 16 | } 17 | } 18 | ``` 19 | 20 | And now the query via DSL: 21 | 22 | ```php 23 | $missingAggregation = new MissingAggregation('products_without_a_price', 'price'); 24 | 25 | $search = new Search(); 26 | $search->addAggregation($missingAggregation); 27 | 28 | $queryArray = $search->toArray(); 29 | ``` 30 | 31 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-missing-aggregation.html 32 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/Percentiles.md: -------------------------------------------------------------------------------- 1 | # Percentiles Aggregation 2 | 3 | > More info about percentiles aggregation is in the [official elasticsearch docs][1] 4 | 5 | A multi-value metrics aggregation that calculates one or more percentiles over 6 | numeric values extracted from the aggregated documents. 7 | 8 | ## Simple example 9 | 10 | ```JSON 11 | { 12 | "aggregations" : { 13 | "load_time_outlier" : { 14 | "percentiles" : { 15 | "field" : "load_time" 16 | } 17 | } 18 | } 19 | } 20 | ``` 21 | 22 | And now the query via DSL: 23 | 24 | ```php 25 | $percentilesAggregation = new PercentilesAggregation('load_time_outlier', 'load_time'); 26 | 27 | $search = new Search(); 28 | $search->addAggregation($percentilesAggregation); 29 | 30 | $queryArray = $search->toArray(); 31 | ``` 32 | 33 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-cardinality-aggregation.html 34 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/Stats.md: -------------------------------------------------------------------------------- 1 | # Stats Aggregation 2 | 3 | > More info about stats aggregation is in the [official elasticsearch docs][1] 4 | 5 | A multi-value metrics aggregation that computes stats over numeric 6 | values extracted from the aggregated documents. 7 | 8 | ## Simple example 9 | 10 | ```JSON 11 | { 12 | "aggregations" : { 13 | "grades_stats" : { "stats" : { "field" : "grade" } } 14 | } 15 | } 16 | ``` 17 | 18 | And now the query via DSL: 19 | 20 | ```php 21 | $statsAggregation = new StatsAggregation('grades_stats', 'grade'); 22 | 23 | $search = new Search(); 24 | $search->addAggregation($statsAggregation); 25 | 26 | $queryArray = $search->toArray(); 27 | ``` 28 | 29 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-stats-aggregation.html 30 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/Sum.md: -------------------------------------------------------------------------------- 1 | # Sum Aggregation 2 | 3 | > More info about sum aggregation is in the [official elasticsearch docs][1] 4 | 5 | A single-value metrics aggregation that sums up numeric values that are extracted from the aggregated documents. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "aggregations" : { 12 | "intraday_return" : { "sum" : { "field" : "change" } } 13 | } 14 | } 15 | ``` 16 | 17 | And now the query via DSL: 18 | 19 | ```php 20 | $sumAggregation = new SumAggregation('intraday_return', 'change'); 21 | 22 | $search = new Search(); 23 | $search->addAggregation($sumAggregation); 24 | 25 | $queryArray = $search->toArray(); 26 | ``` 27 | 28 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-sum-aggregation.html 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/Terms.md: -------------------------------------------------------------------------------- 1 | # Terms Aggregation 2 | 3 | > More info about terms aggregation is in the [official elasticsearch docs][1] 4 | 5 | A multi-bucket value source based aggregation where buckets are dynamically 6 | built - one per unique value. 7 | 8 | ## Simple example 9 | 10 | ```JSON 11 | { 12 | "aggregations" : { 13 | "genders" : { 14 | "terms" : { "field" : "gender" } 15 | } 16 | } 17 | } 18 | ``` 19 | 20 | And now the query via DSL: 21 | 22 | ```php 23 | $termsAggregation = new TermsAggregation('genders', 'gender'); 24 | 25 | $search = new Search(); 26 | $search->addAggregation($termsAggregation); 27 | 28 | $queryArray = $search->toArray(); 29 | ``` 30 | 31 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html 32 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Aggregation/ValueCount.md: -------------------------------------------------------------------------------- 1 | # Value Count Aggregation 2 | 3 | > More info about value count aggregation is in the [official elasticsearch docs][1] 4 | 5 | A single-value metrics aggregation that counts the number of values that are extracted from the aggregated documents. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "aggregations" : { 12 | "grades_count" : { "value_count" : { "field" : "grade" } } 13 | } 14 | } 15 | ``` 16 | 17 | And now the query via DSL: 18 | 19 | ```php 20 | $valueCountAggregation = new ValueCountAggregation('grades_count', 'grade'); 21 | 22 | $search = new Search(); 23 | $search->addAggregation($valueCountAggregation); 24 | 25 | $queryArray = $search->toArray(); 26 | ``` 27 | 28 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-valuecount-aggregation.html 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/HasChild.md: -------------------------------------------------------------------------------- 1 | # Has child Query 2 | 3 | > More info about has child query is in the [official elasticsearch docs][1] 4 | 5 | The has child query accepts a query and the child type to run against, and results in parent documents that have child 6 | docs matching the query. 7 | 8 | ## Simple example 9 | 10 | ```JSON 11 | { 12 | "has_child" : { 13 | "type" : "blog_tag", 14 | "query" : { 15 | "term" : { 16 | "tag" : "something" 17 | } 18 | } 19 | } 20 | } 21 | ``` 22 | 23 | In DSL: 24 | 25 | ```php 26 | $termQuery = new TermQuery('tag', 'something'); 27 | 28 | $hasChildQuery = new HasChildQuery('blog_tag', $termQuery); 29 | 30 | $search = new Search(); 31 | $search->addQuery($hasChildQuery); 32 | 33 | $queryArray = $search->toArray(); 34 | ``` 35 | 36 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-has-child-query.html 37 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/Ids.md: -------------------------------------------------------------------------------- 1 | # Ids Query 2 | 3 | > More info about ids query is in the [official elasticsearch docs][1] 4 | 5 | Filters documents that only have the provided ids. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "ids" : { 12 | "type" : "my_type", 13 | "values" : ["1", "4", "100"] 14 | } 15 | } 16 | ``` 17 | 18 | In DSL: 19 | 20 | ```php 21 | $idsQuery = new IdsQuery(['1', '4', '100'], ['type' => 'my_type']); 22 | 23 | $search = new Search(); 24 | $search->addQuery($idsQuery); 25 | 26 | $queryArray = $search->toArray(); 27 | ``` 28 | 29 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-query.html 30 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/Match.md: -------------------------------------------------------------------------------- 1 | # Match Query 2 | 3 | > More info about match query is in the [official elasticsearch docs][1] 4 | 5 | A family of match queries that accept text/numerics/dates, analyzes it, and constructs a query out of it. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "match" : { 12 | "message" : "this is a test" 13 | } 14 | } 15 | ``` 16 | 17 | In DSL: 18 | 19 | ```php 20 | $matchQuery = new MatchQuery('message', 'this is a test'); 21 | 22 | $search = new Search(); 23 | $search->addQuery($matchQuery); 24 | 25 | $queryArray = $search->toArray(); 26 | ``` 27 | 28 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/MatchAll.md: -------------------------------------------------------------------------------- 1 | # Match All Query 2 | 3 | > More info about match all query is in the [official elasticsearch docs][1] 4 | 5 | A query that matches all documents 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "match_all" : { } 12 | } 13 | ``` 14 | 15 | In DSL: 16 | 17 | ```php 18 | $matchAllQuery = new MatchAllQuery(); 19 | 20 | $search = new Search(); 21 | $search->addQuery($matchAllQuery); 22 | 23 | $queryArray = $search->toArray(); 24 | ``` 25 | 26 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-all-query.html 27 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/MultiMatch.md: -------------------------------------------------------------------------------- 1 | # Multi Match Query 2 | 3 | > More info about multi match query is in the [official elasticsearch docs][1] 4 | 5 | The multi match query builds on the [match][2] query to allow multi-field queries: 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "multi_match" : { 12 | "query": "this is a test", 13 | "fields": [ "subject", "message" ] 14 | } 15 | } 16 | ``` 17 | 18 | In DSL: 19 | 20 | ```php 21 | $multiMatchQuery = new MultiMatchQuery( 22 | ['subject', 'message'], 23 | 'this is a test' 24 | ); 25 | 26 | $search = new Search(); 27 | $search->addQuery($multiMatchQuery); 28 | 29 | $queryArray = $search->toArray(); 30 | ``` 31 | 32 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html 33 | [2]: Match.md 34 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/Prefix.md: -------------------------------------------------------------------------------- 1 | # Prefix Query 2 | 3 | > More info about prefix query is in the [official elasticsearch docs][1] 4 | 5 | Matches documents that have fields containing terms with a specified prefix. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "prefix" : { "user" : "ki" } 12 | } 13 | ``` 14 | 15 | In DSL: 16 | 17 | ```php 18 | $prefixQuery = new PrefixQuery('user', 'ki'); 19 | 20 | $search = new Search(); 21 | $search->addQuery($prefixQuery); 22 | 23 | $queryArray = $search->toArray(); 24 | ``` 25 | 26 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html 27 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/QueryString.md: -------------------------------------------------------------------------------- 1 | # Query String Query 2 | 3 | > More info about query string query is in the [official elasticsearch docs][1] 4 | 5 | A query that uses a query parser in order to parse its content. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "query_string" : { 12 | "default_field" : "content", 13 | "query" : "this AND that OR thus" 14 | } 15 | } 16 | ``` 17 | 18 | In DSL: 19 | 20 | ```php 21 | $queryStringQuery = new QueryStringQuery('this AND that OR thus'); 22 | $queryStringQuery->addParameter('default_field', 'content'); 23 | 24 | $search = new Search(); 25 | $search->addQuery($queryStringQuery); 26 | 27 | $queryArray = $search->toArray(); 28 | ``` 29 | 30 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html 31 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/Range.md: -------------------------------------------------------------------------------- 1 | # Range Query 2 | 3 | > More info about range query is in the [official elasticsearch docs][1] 4 | 5 | Matches documents with fields that have terms within a certain range. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | { 12 | "range" : { 13 | "age" : { 14 | "gte" : 10, 15 | "lte" : 20, 16 | "boost" : 2.0 17 | } 18 | } 19 | } 20 | } 21 | ``` 22 | 23 | In DSL: 24 | 25 | ```php 26 | $rangeQuery = new RangeQuery( 27 | 'age', 28 | [ 29 | 'gte' => 10, 30 | 'lte' => 20, 31 | 'boost' => 2.0, 32 | ] 33 | ); 34 | 35 | $search = new Search(); 36 | $search->addQuery($rangeQuery); 37 | 38 | $queryArray = $search->toArray(); 39 | ``` 40 | 41 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html 42 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/Regexp.md: -------------------------------------------------------------------------------- 1 | # Regexp Query 2 | 3 | > More info about regexp query is in the [official elasticsearch docs][1] 4 | 5 | The regexp query allows you to use regular expression term queries. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "filter": { 12 | "regexp":{ 13 | "name.first" : "s.*y" 14 | } 15 | } 16 | } 17 | ``` 18 | 19 | And now the query via DSL: 20 | 21 | ```php 22 | $regexpQuery = new RegexpQuery('name.first', 's.*y'); 23 | 24 | $search = new Search(); 25 | $search->addQuery($regexpQuery); 26 | 27 | $queryArray = $search->toArray(); 28 | ``` 29 | 30 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html 31 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/Term.md: -------------------------------------------------------------------------------- 1 | # Term Query 2 | 3 | > More info about term query is in the [official elasticsearch docs][1] 4 | 5 | The term query finds documents that contain the exact term specified in the inverted index. 6 | 7 | 8 | ## Simple example 9 | 10 | ```JSON 11 | { 12 | "term" : { "user" : "Kimchy" } 13 | } 14 | ``` 15 | 16 | In DSL: 17 | 18 | ```php 19 | $termQuery = new TermQuery('user', 'Kimchy'); 20 | 21 | $search = new Search(); 22 | $search->addQuery($termQuery); 23 | 24 | $queryArray = $search->toArray(); 25 | ``` 26 | 27 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html 28 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/Terms.md: -------------------------------------------------------------------------------- 1 | # Terms Query 2 | 3 | > More info about terms query is in the [official elasticsearch docs][1] 4 | 5 | A query that match on any of the provided terms. 6 | 7 | ## Simple example 8 | 9 | ```JSON 10 | { 11 | "terms" : { 12 | "tags" : [ "blue", "pill" ], 13 | "minimum_should_match" : 1 14 | } 15 | } 16 | ``` 17 | 18 | In DSL: 19 | 20 | ```php 21 | $termsQuery = new TermsQuery( 22 | 'tags', 23 | ['blue', 'pill'], 24 | ['minimum_should_match' => 1] 25 | ); 26 | 27 | $search = new Search(); 28 | $search->addQuery($termsQuery); 29 | 30 | $queryArray = $search->toArray(); 31 | ``` 32 | 33 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html 34 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/Query/Wildcard.md: -------------------------------------------------------------------------------- 1 | # Wildcard query 2 | 3 | > More info about Wildcard query is in the [official elasticsearch docs][1] 4 | 5 | Matches documents that have fields matching a wildcard expression (not analyzed). 6 | 7 | Lets take an example to write a wildcard query with Elasticsearch DSL. 8 | 9 | ```JSON 10 | { 11 | "wildcard" : { 12 | "user" : { 13 | "value" : "ki*y" 14 | }, 15 | "boost" : 2.0 16 | } 17 | } 18 | ``` 19 | 20 | And now the query via DSL: 21 | 22 | ```php 23 | 24 | $search = new Search(); 25 | $wildcard= new WildcardQuery('user', 'ki*y', ["boost" => 2.0]); 26 | $search->addQuery($wildcard); 27 | $queryArray = $search->toArray(); 28 | 29 | ``` 30 | 31 | 32 | [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html 33 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/docs/index.md: -------------------------------------------------------------------------------- 1 | # Elasticsearch DSL 2 | 3 | Welcome to Elasticsearch DSL library. The main purpose of this library is to provide objective query builder for [elasticsearch-php][1] client. 4 | 5 | Everything starts from the `Search` object. We recommend first to take a look at the [Search](HowTo/HowToSearch.md) chapter. 6 | 7 | ### Topics: 8 | - [Build Queries](Query/index.md) 9 | - [Build Aggregations](Aggregation/index.md) 10 | - [Build Suggest](Suggest/index.md) 11 | 12 | ### How to 13 | - [How to Search](HowTo/HowToSearch.md) 14 | - [How to set custom parameters to Search](HowTo/CustomParameters.md) 15 | - more coming soon.. 16 | 17 | [1]: https://github.com/elastic/elasticsearch-php 18 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/AvgAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\AvgAggregation as Base; 15 | 16 | /** 17 | * Class representing Avg Aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class AvgAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Bucketing/SignificantTermsAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Bucketing; 13 | 14 | /** 15 | * Class representing TermsAggregation. 16 | * 17 | * @link https://goo.gl/xI7zoa 18 | */ 19 | class SignificantTermsAggregation extends TermsAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'significant_terms'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/CardinalityAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\CardinalityAggregation as Base; 15 | 16 | /** 17 | * Difference values counter. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class CardinalityAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/ChildrenAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\ChildrenAggregation as Base; 15 | 16 | /** 17 | * Class representing ChildrenAggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class ChildrenAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/DateHistogramAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\DateHistogramAggregation as Base; 15 | 16 | /** 17 | * Class representing Histogram aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | * 22 | * @link https://goo.gl/hGCdDd 23 | */ 24 | class DateHistogramAggregation extends Base 25 | { 26 | } 27 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/DateRangeAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\DateRangeAggregation as Base; 15 | 16 | /** 17 | * Class representing date range aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class DateRangeAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/ExtendedStatsAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\ExtendedStatsAggregation as Base; 15 | 16 | /** 17 | * Class representing Extended stats aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class ExtendedStatsAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/FilterAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\BuilderInterface; 15 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\FilterAggregation as Base; 16 | 17 | /** 18 | * Class representing FilterAggregation. 19 | * 20 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 21 | * This class will be removed in 3.0. 22 | */ 23 | class FilterAggregation extends Base 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/FiltersAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\FiltersAggregation as Base; 15 | 16 | /** 17 | * Class representing filters aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class FiltersAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/GeoBoundsAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\GeoBoundsAggregation as Base; 15 | 16 | /** 17 | * Class representing geo bounds aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class GeoBoundsAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/GeoCentroidAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\GeoCentroidAggregation as Base; 15 | 16 | /** 17 | * Class representing geo centroid aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | * 22 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-geocentroid-aggregation.html 23 | */ 24 | class GeoCentroidAggregation extends Base 25 | { 26 | } 27 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/GeoDistanceAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\GeoDistanceAggregation as Base; 15 | 16 | /** 17 | * Class representing geo distance aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class GeoDistanceAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/GeoHashGridAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Type\BucketingTrait; 15 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\GeoHashGridAggregation as Base; 16 | 17 | /** 18 | * Class representing geohash grid aggregation. 19 | * 20 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 21 | * This class will be removed in 3.0. 22 | */ 23 | class GeoHashGridAggregation extends Base 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/GlobalAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\GlobalAggregation as Base; 15 | 16 | /** 17 | * Class representing GlobalAggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class GlobalAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/HistogramAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\HistogramAggregation as Base; 15 | 16 | /** 17 | * Class representing Histogram aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class HistogramAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Ipv4RangeAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\Ipv4RangeAggregation as Base; 15 | 16 | /** 17 | * Class representing ip range aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class Ipv4RangeAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/MaxAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\MaxAggregation as Base; 15 | 16 | /** 17 | * Class representing Max Aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class MaxAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Metric/AvgAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Metric; 13 | 14 | /** 15 | * Class representing Avg Aggregation. 16 | * 17 | * @link http://goo.gl/7KOIwo 18 | */ 19 | class AvgAggregation extends StatsAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'avg'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Metric/MaxAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Metric; 13 | 14 | /** 15 | * Class representing Max Aggregation. 16 | * 17 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-max-aggregation.html 18 | */ 19 | class MaxAggregation extends StatsAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'max'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Metric/MinAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Metric; 13 | 14 | /** 15 | * Class representing Min Aggregation. 16 | * 17 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-min-aggregation.html 18 | */ 19 | class MinAggregation extends StatsAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'min'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Metric/SumAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Metric; 13 | 14 | /** 15 | * Class representing Sum Aggregation. 16 | * 17 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-sum-aggregation.html 18 | */ 19 | class SumAggregation extends StatsAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'sum'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Metric/ValueCountAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Metric; 13 | 14 | /** 15 | * Class representing Value Count Aggregation. 16 | * 17 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-valuecount-aggregation.html 18 | */ 19 | class ValueCountAggregation extends StatsAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'value_count'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/MinAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\MinAggregation as Base; 15 | 16 | /** 17 | * Class representing Min Aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class MinAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/MissingAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\MissingAggregation as Base; 15 | 16 | /** 17 | * Class representing missing aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class MissingAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/NestedAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\NestedAggregation as Base; 15 | 16 | /** 17 | * Class representing NestedAggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class NestedAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/PercentileRanksAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\PercentileRanksAggregation as Base; 15 | 16 | /** 17 | * Class representing Percentile Ranks Aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class PercentileRanksAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/PercentilesAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\PercentilesAggregation as Base; 15 | 16 | /** 17 | * Class representing PercentilesAggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class PercentilesAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/AvgBucketAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Avg Bucket Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/SWK2nP 18 | */ 19 | class AvgBucketAggregation extends AbstractPipelineAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'avg_bucket'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/BucketSelectorAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Bucket Selector Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/IQbyyM 18 | */ 19 | class BucketSelectorAggregation extends BucketScriptAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'bucket_selector'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/CumulativeSumAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Cumulative Sum Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/EUzda6 18 | */ 19 | class CumulativeSumAggregation extends AbstractPipelineAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'cumulative_sum'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/DerivativeAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Derivative Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/Tt2MIR 18 | */ 19 | class DerivativeAggregation extends AbstractPipelineAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'derivative'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/ExtendedStatsBucketAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Extended Stats Bucket Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/rn8vtA 18 | */ 19 | class ExtendedStatsBucketAggregation extends AbstractPipelineAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'extended_stats_bucket'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/MaxBucketAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Max Bucket Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/FQQWIv 18 | */ 19 | class MaxBucketAggregation extends AbstractPipelineAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'max_bucket'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/MinBucketAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Min Bucket Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/5oo4XH 18 | */ 19 | class MinBucketAggregation extends AbstractPipelineAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'min_bucket'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/MovingAverageAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Max Bucket Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/8gIfok 18 | */ 19 | class MovingAverageAggregation extends AbstractPipelineAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'moving_avg'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/SerialDifferencingAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Serial Differencing Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/46ZR4v 18 | */ 19 | class SerialDifferencingAggregation extends AbstractPipelineAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'serial_diff'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/StatsBucketAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Stats Bucket Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/apQXaQ 18 | */ 19 | class StatsBucketAggregation extends AbstractPipelineAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'stats_bucket'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Pipeline/SumBucketAggregation.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 ONGR\ElasticsearchDSL\Aggregation\Pipeline; 13 | 14 | /** 15 | * Class representing Max Bucket Pipeline Aggregation. 16 | * 17 | * @link https://goo.gl/8gIfok 18 | */ 19 | class SumBucketAggregation extends AbstractPipelineAggregation 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'sum_bucket'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/RangeAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\RangeAggregation as Base; 15 | 16 | /** 17 | * Class representing RangeAggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class RangeAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/ReverseNestedAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\ReverseNestedAggregation as Base; 15 | 16 | /** 17 | * Class representing ReverseNestedAggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class ReverseNestedAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/SamplerAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\SamplerAggregation as Base; 15 | 16 | /** 17 | * Class representing geo bounds aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | * 22 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-aggregations-bucket-sampler-aggregation.html 23 | */ 24 | class SamplerAggregation extends Base 25 | { 26 | } 27 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/SignificantTermsAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\SignificantTermsAggregation as Base; 15 | 16 | /** 17 | * Class representing TermsAggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | * 22 | * @link https://goo.gl/xI7zoa 23 | */ 24 | class SignificantTermsAggregation extends Base 25 | { 26 | } 27 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/StatsAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\StatsAggregation as Base; 15 | 16 | /** 17 | * Class representing StatsAggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class StatsAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/SumAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\SumAggregation as Base; 15 | 16 | /** 17 | * Class representing Sum Aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class SumAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/TermsAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Bucketing\TermsAggregation as Base; 15 | 16 | /** 17 | * Class representing TermsAggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class TermsAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/TopHitsAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Type\MetricTrait; 15 | use ONGR\ElasticsearchDSL\BuilderInterface; 16 | use ONGR\ElasticsearchDSL\Aggregation\Metric\TopHitsAggregation as Base; 17 | 18 | /** 19 | * Top hits aggregation. 20 | * 21 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 22 | * This class will be removed in 3.0. 23 | */ 24 | class TopHitsAggregation extends Base 25 | { 26 | } 27 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Type/BucketingTrait.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 ONGR\ElasticsearchDSL\Aggregation\Type; 13 | 14 | /** 15 | * Trait used by Aggregations which supports nesting. 16 | */ 17 | trait BucketingTrait 18 | { 19 | /** 20 | * Bucketing aggregations supports nesting. 21 | * 22 | * @return bool 23 | */ 24 | protected function supportsNesting() 25 | { 26 | return true; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/Type/MetricTrait.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 ONGR\ElasticsearchDSL\Aggregation\Type; 13 | 14 | /** 15 | * Trait used by Aggregations which do not support nesting. 16 | */ 17 | trait MetricTrait 18 | { 19 | /** 20 | * Metric aggregations does not support nesting. 21 | * 22 | * @return bool 23 | */ 24 | protected function supportsNesting() 25 | { 26 | return false; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Aggregation/ValueCountAggregation.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 ONGR\ElasticsearchDSL\Aggregation; 13 | 14 | use ONGR\ElasticsearchDSL\Aggregation\Metric\ValueCountAggregation as Base; 15 | 16 | /** 17 | * Class representing Value Count Aggregation. 18 | * 19 | * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`. 20 | * This class will be removed in 3.0. 21 | */ 22 | class ValueCountAggregation extends Base 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/BuilderInterface.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 ONGR\ElasticsearchDSL; 13 | 14 | /** 15 | * Interface BuilderInterface. 16 | */ 17 | interface BuilderInterface 18 | { 19 | /** 20 | * Generates array which will be passed to elasticsearch-php client. 21 | * 22 | * @return array 23 | */ 24 | public function toArray(); 25 | 26 | /** 27 | * Returns element type. 28 | * 29 | * @return string 30 | */ 31 | public function getType(); 32 | } 33 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/InnerHit/ParentInnerHit.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 ONGR\ElasticsearchDSL; 13 | 14 | trait NameAwareTrait 15 | { 16 | /** 17 | * @var string 18 | */ 19 | private $name; 20 | 21 | /** 22 | * @return mixed 23 | */ 24 | public function getName() 25 | { 26 | return $this->name; 27 | } 28 | 29 | /** 30 | * @param mixed $name 31 | */ 32 | public function setName($name) 33 | { 34 | $this->name = $name; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Query/MatchPhrasePrefixQuery.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 ONGR\ElasticsearchDSL\Query; 13 | 14 | /** 15 | * Represents Elasticsearch "match_phrase_prefix" query. 16 | * 17 | * @author Ron Rademaker 18 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html 19 | */ 20 | class MatchPhrasePrefixQuery extends MatchQuery 21 | { 22 | /** 23 | * {@inheritdoc} 24 | */ 25 | public function getType() 26 | { 27 | return 'match_phrase_prefix'; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Query/MatchPhraseQuery.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 ONGR\ElasticsearchDSL\Query; 13 | 14 | /** 15 | * Represents Elasticsearch "match_phrase" query. 16 | * 17 | * @author Ron Rademaker 18 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html 19 | */ 20 | class MatchPhraseQuery extends MatchQuery 21 | { 22 | /** 23 | * {@inheritdoc} 24 | */ 25 | public function getType() 26 | { 27 | return 'match_phrase'; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Query/Span/SpanQueryInterface.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 ONGR\ElasticsearchDSL\Query\Span; 13 | 14 | use ONGR\ElasticsearchDSL\BuilderInterface; 15 | 16 | /** 17 | * Interface SpanQueryInterface to recognise span queries. 18 | */ 19 | interface SpanQueryInterface extends BuilderInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Query/Span/SpanTermQuery.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 ONGR\ElasticsearchDSL\Query\Span; 13 | 14 | use ONGR\ElasticsearchDSL\Query\TermQuery; 15 | 16 | /** 17 | * Elasticsearch span_term query class. 18 | * 19 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-term-query.html 20 | */ 21 | class SpanTermQuery extends TermQuery implements SpanQueryInterface 22 | { 23 | /** 24 | * {@inheritdoc} 25 | */ 26 | public function getType() 27 | { 28 | return 'span_term'; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Query/Span/SpanWithinQuery.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 ONGR\ElasticsearchDSL\Query\Span; 13 | 14 | /** 15 | * Elasticsearch span within query. 16 | * 17 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-within-query.html 18 | */ 19 | class SpanWithinQuery extends SpanContainingQuery 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getType() 25 | { 26 | return 'span_within'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/ScriptAwareTrait.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 ONGR\ElasticsearchDSL; 13 | 14 | /** 15 | * A trait which handles elasticsearch aggregation script. 16 | */ 17 | trait ScriptAwareTrait 18 | { 19 | /** 20 | * @var string 21 | */ 22 | private $script; 23 | 24 | /** 25 | * @return string 26 | */ 27 | public function getScript() 28 | { 29 | return $this->script; 30 | } 31 | 32 | /** 33 | * @param string $script 34 | */ 35 | public function setScript($script) 36 | { 37 | $this->script = $script; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/src/Serializer/Normalizer/OrderedNormalizerInterface.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 ONGR\ElasticsearchDSL\Serializer\Normalizer; 13 | 14 | /** 15 | * This should be implemented by normalizable object that required to be processed in specific order. 16 | */ 17 | interface OrderedNormalizerInterface 18 | { 19 | /** 20 | * Returns normalization priority. 21 | * 22 | * @return int 23 | */ 24 | public function getOrder(); 25 | } 26 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/InnerHit/ParentInnerHitTest.php: -------------------------------------------------------------------------------- 1 | addQuery($query); 16 | 17 | 18 | $hit = new ParentInnerHit('test', 'acme', $search); 19 | $expected = [ 20 | 'type' => [ 21 | 'acme' => [ 22 | 'query' => $query->toArray(), 23 | ], 24 | ], 25 | ]; 26 | $this->assertEquals($expected, $hit->toArray()); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/ExistsQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\ExistsQuery; 15 | 16 | /** 17 | * Unit test for ExistsQuery. 18 | */ 19 | class ExistsQueryTest extends \PHPUnit_Framework_TestCase 20 | { 21 | /** 22 | * Tests toArray() method. 23 | */ 24 | public function testToArray() 25 | { 26 | $query = new ExistsQuery('bar'); 27 | $this->assertEquals(['exists' => ['field' => 'bar']], $query->toArray()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/HasChildQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\HasChildQuery; 15 | 16 | class HasChildQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Tests whether __constructor calls setParameters method. 20 | */ 21 | public function testConstructor() 22 | { 23 | $parentQuery = $this->getMock('ONGR\ElasticsearchDSL\BuilderInterface'); 24 | $query = new HasChildQuery('test_type', $parentQuery, ['test_parameter1']); 25 | $this->assertEquals(['test_parameter1'], $query->getParameters()); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/HasParentQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\HasParentQuery; 15 | 16 | class HasParentQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Tests whether __constructor calls setParameters method. 20 | */ 21 | public function testConstructor() 22 | { 23 | $parentQuery = $this->getMock('ONGR\ElasticsearchDSL\BuilderInterface'); 24 | $query = new HasParentQuery('test_type', $parentQuery, ['test_parameter1']); 25 | $this->assertEquals(['test_parameter1'], $query->getParameters()); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/IdsQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\IdsQuery; 15 | 16 | class IdsQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Tests toArray(). 20 | */ 21 | public function testToArray() 22 | { 23 | $query = new IdsQuery(['foo', 'bar']); 24 | $expected = [ 25 | 'ids' => [ 26 | 'values' => ['foo', 'bar'], 27 | ], 28 | ]; 29 | 30 | $this->assertEquals($expected, $query->toArray()); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/LimitQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\LimitQuery; 15 | 16 | class LimitQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Test for query toArray() method. 20 | */ 21 | public function testToArray() 22 | { 23 | $query = new LimitQuery(3); 24 | $expectedResult = [ 25 | 'limit' => ['value' => 3] 26 | ]; 27 | $this->assertEquals($expectedResult, $query->toArray()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/MatchQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\MatchQuery; 15 | 16 | class MatchQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Tests toArray(). 20 | */ 21 | public function testToArray() 22 | { 23 | $query = new MatchQuery('message', 'this is a test'); 24 | $expected = [ 25 | 'match' => [ 26 | 'message' => [ 27 | 'query' => 'this is a test', 28 | ], 29 | ], 30 | ]; 31 | 32 | $this->assertEquals($expected, $query->toArray()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/PrefixQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\PrefixQuery; 15 | 16 | class PrefixQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Tests toArray(). 20 | */ 21 | public function testToArray() 22 | { 23 | $query = new PrefixQuery('user', 'ki'); 24 | $expected = [ 25 | 'prefix' => [ 26 | 'user' => [ 27 | 'value' => 'ki', 28 | ], 29 | ], 30 | ]; 31 | 32 | $this->assertEquals($expected, $query->toArray()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/QueryStringQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\QueryStringQuery; 15 | 16 | class QueryStringQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Tests toArray(). 20 | */ 21 | public function testToArray() 22 | { 23 | $query = new QueryStringQuery('this AND that OR thus'); 24 | $expected = [ 25 | 'query_string' => [ 26 | 'query' => 'this AND that OR thus', 27 | ] 28 | ]; 29 | 30 | $this->assertEquals($expected, $query->toArray()); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/RegexpQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\RegexpQuery; 15 | 16 | class RegexpQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Tests toArray(). 20 | */ 21 | public function testToArray() 22 | { 23 | $query = new RegexpQuery('user', 's.*y'); 24 | $expected = [ 25 | 'regexp' => [ 26 | 'user' => [ 27 | 'value' => 's.*y', 28 | ], 29 | ], 30 | ]; 31 | 32 | $this->assertEquals($expected, $query->toArray()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/TermQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\TermQuery; 15 | 16 | class TermQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Tests toArray(). 20 | */ 21 | public function testToArray() 22 | { 23 | $query = new TermQuery('user', 'bob'); 24 | $expected = [ 25 | 'term' => [ 26 | 'user' => 'bob', 27 | ], 28 | ]; 29 | 30 | $this->assertEquals($expected, $query->toArray()); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/TermsQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\TermsQuery; 15 | 16 | class TermsQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Tests toArray(). 20 | */ 21 | public function testToArray() 22 | { 23 | $query = new TermsQuery('user', ['bob', 'elasticsearch']); 24 | $expected = [ 25 | 'terms' => [ 26 | 'user' => ['bob', 'elasticsearch'], 27 | ], 28 | ]; 29 | 30 | $this->assertEquals($expected, $query->toArray()); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/TypeQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\TypeQuery; 15 | 16 | class TypeQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Test for query toArray() method. 20 | */ 21 | public function testToArray() 22 | { 23 | $query = new TypeQuery('foo'); 24 | $expectedResult = [ 25 | 'type' => ['value' => 'foo'] 26 | ]; 27 | 28 | $this->assertEquals($expectedResult, $query->toArray()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/ongr/elasticsearch-dsl/tests/Unit/Query/WildcardQueryTest.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 ONGR\ElasticsearchDSL\Tests\Unit\Query; 13 | 14 | use ONGR\ElasticsearchDSL\Query\WildcardQuery; 15 | 16 | class WildcardQueryTest extends \PHPUnit_Framework_TestCase 17 | { 18 | /** 19 | * Test for query toArray() method. 20 | */ 21 | public function testToArray() 22 | { 23 | $query = new WildcardQuery('user', 'ki*y'); 24 | $expectedResult = [ 25 | 'wildcard' => [ 26 | 'user' => [ 27 | 'value' => 'ki*y', 28 | ], 29 | ], 30 | ]; 31 | 32 | $this->assertEquals($expectedResult, $query->toArray()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/.gitignore: -------------------------------------------------------------------------------- 1 | phpunit.xml 2 | composer.lock 3 | /vendor/ 4 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | env: 4 | matrix: 5 | - PIMPLE_EXT=no 6 | - PIMPLE_EXT=yes 7 | global: 8 | - REPORT_EXIT_STATUS=1 9 | 10 | php: 11 | - 5.3 12 | - 5.4 13 | - 5.5 14 | - 5.6 15 | - hhvm 16 | 17 | before_script: 18 | - composer self-update 19 | - COMPOSER_ROOT_VERSION=dev-master composer dump-autoload 20 | - if [ "$PIMPLE_EXT" == "yes" ]; then sh -c "cd ext/pimple && phpize && ./configure && make && sudo make install"; fi 21 | - if [ "$PIMPLE_EXT" == "yes" ]; then echo "extension=pimple.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi 22 | 23 | script: 24 | - cd ext/pimple 25 | - if [ "$PIMPLE_EXT" == "yes" ]; then yes n | make test | tee output ; grep -E 'Tests failed +. +0' output; fi 26 | - cd ../.. 27 | - phpunit 28 | 29 | matrix: 30 | exclude: 31 | - php: hhvm 32 | env: PIMPLE_EXT=yes 33 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pimple/pimple", 3 | "type": "library", 4 | "description": "Pimple, a simple Dependency Injection Container", 5 | "keywords": ["dependency injection", "container"], 6 | "homepage": "http://pimple.sensiolabs.org", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.0" 16 | }, 17 | "autoload": { 18 | "psr-0": { "Pimple": "src/" } 19 | }, 20 | "extra": { 21 | "branch-alias": { 22 | "dev-master": "3.0.x-dev" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/.gitignore: -------------------------------------------------------------------------------- 1 | *.sw* 2 | .deps 3 | Makefile 4 | Makefile.fragments 5 | Makefile.global 6 | Makefile.objects 7 | acinclude.m4 8 | aclocal.m4 9 | build/ 10 | config.cache 11 | config.guess 12 | config.h 13 | config.h.in 14 | config.log 15 | config.nice 16 | config.status 17 | config.sub 18 | configure 19 | configure.in 20 | install-sh 21 | libtool 22 | ltmain.sh 23 | missing 24 | mkinstalldirs 25 | run-tests.php 26 | *.loT 27 | .libs/ 28 | modules/ 29 | *.la 30 | *.lo 31 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/README.md: -------------------------------------------------------------------------------- 1 | This is Pimple 2 implemented in C 2 | 3 | * PHP >= 5.3 4 | * Not tested under Windows, might work 5 | 6 | Install 7 | ======= 8 | 9 | > phpize 10 | > ./configure 11 | > make 12 | > make install 13 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/config.w32: -------------------------------------------------------------------------------- 1 | // $Id$ 2 | // vim:ft=javascript 3 | 4 | // If your extension references something external, use ARG_WITH 5 | // ARG_WITH("pimple", "for pimple support", "no"); 6 | 7 | // Otherwise, use ARG_ENABLE 8 | // ARG_ENABLE("pimple", "enable pimple support", "no"); 9 | 10 | if (PHP_PIMPLE != "no") { 11 | EXTENSION("pimple", "pimple.c"); 12 | } 13 | 14 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/001.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test for read_dim/write_dim handlers 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 38 | 39 | --EXPECTF-- 40 | foo 41 | 42 42 | foo2 43 | foo99 44 | baz 45 | strstr -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/002.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test for constructor 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 'foo')); 11 | var_dump($p[42]); 12 | ?> 13 | --EXPECT-- 14 | NULL 15 | string(3) "foo" 16 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/003.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test empty dimensions 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 14 | --EXPECT-- 15 | int(42) 16 | string(3) "bar" -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/004.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test has/unset dim handlers 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 24 | --EXPECT-- 25 | int(42) 26 | NULL 27 | bool(true) 28 | bool(false) 29 | bool(true) 30 | bool(true) -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/005.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test simple class inheritance 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | someAttr; 23 | ?> 24 | --EXPECT-- 25 | string(3) "hit" 26 | foo 27 | fooAttr -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/007.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test for read_dim/write_dim handlers 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 20 | --EXPECTF-- 21 | foo 22 | 42 -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/008.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test frozen services 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 29 | --EXPECTF-- 30 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/009.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test service is called as callback, and only once 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 12 | --EXPECTF-- 13 | bool(true) -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/010.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test service is called as callback for every callback type 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 36 | --EXPECTF-- 37 | callme 38 | called 39 | Foo::bar 40 | array(2) { 41 | [0]=> 42 | string(3) "Foo" 43 | [1]=> 44 | string(3) "bar" 45 | } -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/011.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test service callback throwing an exception 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 18 | --EXPECTF-- 19 | all right! -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/012.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test service factory 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | factory($f = function() { var_dump('called-1'); return 'ret-1';}); 11 | 12 | $p[] = $f; 13 | 14 | $p[] = function () { var_dump('called-2'); return 'ret-2'; }; 15 | 16 | var_dump($p[0]); 17 | var_dump($p[0]); 18 | var_dump($p[1]); 19 | var_dump($p[1]); 20 | ?> 21 | --EXPECTF-- 22 | string(8) "called-1" 23 | string(5) "ret-1" 24 | string(8) "called-1" 25 | string(5) "ret-1" 26 | string(8) "called-2" 27 | string(5) "ret-2" 28 | string(5) "ret-2" -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/013.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test keys() 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | keys()); 11 | 12 | $p['foo'] = 'bar'; 13 | $p[] = 'foo'; 14 | 15 | var_dump($p->keys()); 16 | 17 | unset($p['foo']); 18 | 19 | var_dump($p->keys()); 20 | ?> 21 | --EXPECTF-- 22 | array(0) { 23 | } 24 | array(2) { 25 | [0]=> 26 | string(3) "foo" 27 | [1]=> 28 | int(0) 29 | } 30 | array(1) { 31 | [0]=> 32 | int(0) 33 | } -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/014.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test raw() 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | raw('foo')); 16 | var_dump($p[42]); 17 | 18 | unset($p['foo']); 19 | 20 | try { 21 | $p->raw('foo'); 22 | echo "expected exception"; 23 | } catch (InvalidArgumentException $e) { } 24 | --EXPECTF-- 25 | string(8) "called-2" 26 | string(5) "ret-2" 27 | object(Closure)#%i (0) { 28 | } 29 | string(8) "called-2" 30 | string(5) "ret-2" -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/015.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test protect() 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | protect($f); 13 | 14 | var_dump($p['foo']); 15 | --EXPECTF-- 16 | object(Closure)#%i (0) { 17 | } -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/016.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test extend() 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | extend(12, function ($w) { var_dump($w); return 'bar'; }); /* $callable in code above */ 19 | 20 | var_dump($c('param')); 21 | --EXPECTF-- 22 | string(5) "param" 23 | string(3) "foo" 24 | string(3) "bar" -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/017.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test extend() with exception in service extension 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | extend(12, function ($w) { throw new BadMethodCallException; }); 12 | 13 | try { 14 | $p[12]; 15 | echo "Exception expected"; 16 | } catch (BadMethodCallException $e) { } 17 | --EXPECTF-- 18 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/017_1.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test extend() with exception in service factory 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | extend(12, function ($w) { return 'foobar'; }); 12 | 13 | try { 14 | $p[12]; 15 | echo "Exception expected"; 16 | } catch (BadMethodCallException $e) { } 17 | --EXPECTF-- 18 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/018.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test register() 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | register(new Foo, array(42 => 'bar')); 18 | 19 | var_dump($p[42]); 20 | --EXPECTF-- 21 | object(Pimple\Container)#1 (0) { 22 | } 23 | string(3) "bar" -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/019.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test register() returns static and is a fluent interface 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | register(new Foo)); 17 | --EXPECTF-- 18 | bool(true) 19 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/bench.phpb: -------------------------------------------------------------------------------- 1 | factory($factory); 42 | 43 | $p['factory'] = $factory; 44 | 45 | echo $p['factory']; 46 | echo $p['factory']; 47 | echo $p['factory']; 48 | 49 | } 50 | 51 | echo microtime(true) - $time; 52 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/bench_shared.phpb: -------------------------------------------------------------------------------- 1 | 26 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | ./src/Pimple/Tests 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /vendor/psr/log/.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | -------------------------------------------------------------------------------- /vendor/psr/log/Psr/Log/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | logger = $logger; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/psr/log/Psr/Log/NullLogger.php: -------------------------------------------------------------------------------- 1 | logger) { }` 11 | * blocks. 12 | */ 13 | class NullLogger extends AbstractLogger 14 | { 15 | /** 16 | * Logs with an arbitrary level. 17 | * 18 | * @param mixed $level 19 | * @param string $message 20 | * @param array $context 21 | * 22 | * @return void 23 | */ 24 | public function log($level, $message, array $context = array()) 25 | { 26 | // noop 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/psr/log/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "psr/log", 3 | "description": "Common interface for logging libraries", 4 | "keywords": ["psr", "psr-3", "log"], 5 | "homepage": "https://github.com/php-fig/log", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "PHP-FIG", 10 | "homepage": "http://www.php-fig.org/" 11 | } 12 | ], 13 | "require": { 14 | "php": ">=5.3.0" 15 | }, 16 | "autoload": { 17 | "psr-4": { 18 | "Psr\\Log\\": "Psr/Log/" 19 | } 20 | }, 21 | "extra": { 22 | "branch-alias": { 23 | "dev-master": "1.0.x-dev" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/react/promise/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | composer.phar 3 | phpunit.xml 4 | build/ 5 | vendor/ 6 | -------------------------------------------------------------------------------- /vendor/react/promise/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 5.4 5 | - 5.5 6 | - 5.6 7 | - 7.0 8 | - nightly 9 | - hhvm 10 | 11 | before_install: 12 | - composer self-update 13 | 14 | install: 15 | - composer install 16 | 17 | script: 18 | - phpunit -v --coverage-text --coverage-clover=./build/logs/clover.xml 19 | 20 | after_script: 21 | - if [ -f ./build/logs/clover.xml ]; then travis_retry composer require satooshi/php-coveralls --no-interaction --update-with-dependencies; fi 22 | - if [ -f ./build/logs/clover.xml ]; then php vendor/bin/coveralls -v; fi 23 | -------------------------------------------------------------------------------- /vendor/react/promise/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react/promise", 3 | "description": "A lightweight implementation of CommonJS Promises/A for PHP", 4 | "license": "MIT", 5 | "authors": [ 6 | {"name": "Jan Sorgalla", "email": "jsorgalla@gmail.com"} 7 | ], 8 | "require": { 9 | "php": ">=5.4.0" 10 | }, 11 | "autoload": { 12 | "psr-4": { 13 | "React\\Promise\\": "src/" 14 | }, 15 | "files": ["src/functions_include.php"] 16 | }, 17 | "autoload-dev": { 18 | "psr-4": { 19 | "React\\Promise\\": "tests/fixtures" 20 | } 21 | }, 22 | "keywords": [ 23 | "promise", 24 | "promises" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /vendor/react/promise/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./tests/ 17 | 18 | 19 | 20 | 21 | 22 | ./src/ 23 | 24 | ./src/functions_include.php 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /vendor/react/promise/src/CancellablePromiseInterface.php: -------------------------------------------------------------------------------- 1 | reason = $reason; 21 | 22 | $message = sprintf('Unhandled Rejection: %s', json_encode($reason)); 23 | 24 | parent::__construct($message, 0); 25 | } 26 | 27 | public function getReason() 28 | { 29 | return $this->reason; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/react/promise/src/functions_include.php: -------------------------------------------------------------------------------- 1 | addPsr4('React\\Promise\\', __DIR__); 8 | -------------------------------------------------------------------------------- /vendor/react/promise/tests/fixtures/SimpleFulfilledTestPromise.php: -------------------------------------------------------------------------------- 1 | cancelCalled = true; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /vendor/react/promise/tests/fixtures/SimpleTestCancellableThenable.php: -------------------------------------------------------------------------------- 1 | cancelCalled = true; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | phpunit.xml 4 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Encoder/NormalizationAwareInterface.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\Serializer\Encoder; 13 | 14 | /** 15 | * Defines the interface of encoders that will normalize data themselves. 16 | * 17 | * Implementing this interface essentially just tells the Serializer that the 18 | * data should not be pre-normalized before being passed to this Encoder. 19 | * 20 | * @author Jordi Boggiano 21 | */ 22 | interface NormalizationAwareInterface 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Encoder/SerializerAwareEncoder.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\Serializer\Encoder; 13 | 14 | use Symfony\Component\Serializer\SerializerAwareInterface; 15 | use Symfony\Component\Serializer\SerializerAwareTrait; 16 | 17 | /** 18 | * SerializerAware Encoder implementation. 19 | * 20 | * @author Jordi Boggiano 21 | * 22 | * @deprecated since version 3.2, to be removed in 4.0. Use the SerializerAwareTrait instead. 23 | */ 24 | abstract class SerializerAwareEncoder implements SerializerAwareInterface 25 | { 26 | use SerializerAwareTrait; 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/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\Serializer\Exception; 13 | 14 | class BadMethodCallException extends \BadMethodCallException implements ExceptionInterface 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Exception/CircularReferenceException.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\Serializer\Exception; 13 | 14 | /** 15 | * CircularReferenceException. 16 | * 17 | * @author Kévin Dunglas 18 | */ 19 | class CircularReferenceException extends RuntimeException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/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\Serializer\Exception; 13 | 14 | /** 15 | * Base exception interface. 16 | * 17 | * @author Johannes M. Schmitt 18 | */ 19 | interface ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/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\Serializer\Exception; 13 | 14 | /** 15 | * InvalidArgumentException. 16 | * 17 | * @author Johannes M. Schmitt 18 | */ 19 | class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/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\Serializer\Exception; 13 | 14 | /** 15 | * LogicException. 16 | * 17 | * @author Lukas Kahwe Smith 18 | */ 19 | class LogicException extends \LogicException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Exception/MappingException.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\Serializer\Exception; 13 | 14 | /** 15 | * MappingException. 16 | * 17 | * @author Kévin Dunglas 18 | */ 19 | class MappingException extends RuntimeException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/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\Serializer\Exception; 13 | 14 | /** 15 | * RuntimeException. 16 | * 17 | * @author Johannes M. Schmitt 18 | */ 19 | class RuntimeException extends \RuntimeException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Exception/UnexpectedValueException.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\Serializer\Exception; 13 | 14 | /** 15 | * UnexpectedValueException. 16 | * 17 | * @author Lukas Kahwe Smith 18 | */ 19 | class UnexpectedValueException extends \UnexpectedValueException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Exception/UnsupportedException.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\Serializer\Exception; 13 | 14 | /** 15 | * UnsupportedException. 16 | * 17 | * @author Johannes M. Schmitt 18 | */ 19 | class UnsupportedException extends InvalidArgumentException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Mapping/Loader/LoaderInterface.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\Serializer\Mapping\Loader; 13 | 14 | use Symfony\Component\Serializer\Mapping\ClassMetadataInterface; 15 | 16 | /** 17 | * Loads {@link ClassMetadataInterface}. 18 | * 19 | * @author Kévin Dunglas 20 | */ 21 | interface LoaderInterface 22 | { 23 | /** 24 | * Load class metadata. 25 | * 26 | * @param ClassMetadataInterface $classMetadata A metadata 27 | * 28 | * @return bool 29 | */ 30 | public function loadClassMetadata(ClassMetadataInterface $classMetadata); 31 | } 32 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Normalizer/DenormalizerAwareInterface.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\Serializer\Normalizer; 13 | 14 | /** 15 | * Class accepting a denormalizer. 16 | * 17 | * @author Joel Wurtz 18 | */ 19 | interface DenormalizerAwareInterface 20 | { 21 | /** 22 | * Sets the owning Denormalizer object. 23 | * 24 | * @param DenormalizerInterface $denormalizer 25 | */ 26 | public function setDenormalizer(DenormalizerInterface $denormalizer); 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Normalizer/DenormalizerAwareTrait.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\Serializer\Normalizer; 13 | 14 | /** 15 | * DenormalizerAware trait. 16 | * 17 | * @author Joel Wurtz 18 | */ 19 | trait DenormalizerAwareTrait 20 | { 21 | /** 22 | * @var DenormalizerInterface 23 | */ 24 | protected $denormalizer; 25 | 26 | /** 27 | * Sets the Denormalizer. 28 | * 29 | * @param DenormalizerInterface $denormalizer A DenormalizerInterface instance 30 | */ 31 | public function setDenormalizer(DenormalizerInterface $denormalizer) 32 | { 33 | $this->denormalizer = $denormalizer; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Normalizer/NormalizerAwareInterface.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\Serializer\Normalizer; 13 | 14 | /** 15 | * Class accepting a normalizer. 16 | * 17 | * @author Joel Wurtz 18 | */ 19 | interface NormalizerAwareInterface 20 | { 21 | /** 22 | * Sets the owning Normalizer object. 23 | * 24 | * @param NormalizerInterface $normalizer 25 | */ 26 | public function setNormalizer(NormalizerInterface $normalizer); 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Normalizer/NormalizerAwareTrait.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\Serializer\Normalizer; 13 | 14 | /** 15 | * NormalizerAware trait. 16 | * 17 | * @author Joel Wurtz 18 | */ 19 | trait NormalizerAwareTrait 20 | { 21 | /** 22 | * @var NormalizerInterface 23 | */ 24 | protected $normalizer; 25 | 26 | /** 27 | * Sets the normalizer. 28 | * 29 | * @param NormalizerInterface $normalizer A NormalizerInterface instance 30 | */ 31 | public function setNormalizer(NormalizerInterface $normalizer) 32 | { 33 | $this->normalizer = $normalizer; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Normalizer/SerializerAwareNormalizer.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\Serializer\Normalizer; 13 | 14 | use Symfony\Component\Serializer\SerializerAwareTrait; 15 | use Symfony\Component\Serializer\SerializerAwareInterface; 16 | 17 | /** 18 | * SerializerAware Normalizer implementation. 19 | * 20 | * @author Jordi Boggiano 21 | * 22 | * @deprecated since version 3.1, to be removed in 4.0. Use the SerializerAwareTrait instead. 23 | */ 24 | abstract class SerializerAwareNormalizer implements SerializerAwareInterface 25 | { 26 | use SerializerAwareTrait; 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/README.md: -------------------------------------------------------------------------------- 1 | Serializer Component 2 | ==================== 3 | 4 | With the Serializer component it's possible to handle serializing data 5 | structures, including object graphs, into array structures or other formats like 6 | XML and JSON. It can also handle deserializing XML and JSON back to object 7 | graphs. 8 | 9 | Resources 10 | --------- 11 | 12 | * [Documentation](https://symfony.com/doc/current/components/serializer.html) 13 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 14 | * [Report issues](https://github.com/symfony/symfony/issues) and 15 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 16 | in the [main Symfony repository](https://github.com/symfony/symfony) 17 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/SerializerAwareInterface.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\Serializer; 13 | 14 | /** 15 | * Defines the interface of encoders. 16 | * 17 | * @author Jordi Boggiano 18 | */ 19 | interface SerializerAwareInterface 20 | { 21 | /** 22 | * Sets the owning Serializer object. 23 | * 24 | * @param SerializerInterface $serializer 25 | */ 26 | public function setSerializer(SerializerInterface $serializer); 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/SerializerAwareTrait.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\Serializer; 13 | 14 | /** 15 | * SerializerAware trait. 16 | * 17 | * @author Joel Wurtz 18 | */ 19 | trait SerializerAwareTrait 20 | { 21 | /** 22 | * @var SerializerInterface 23 | */ 24 | protected $serializer; 25 | 26 | /** 27 | * Sets the serializer. 28 | * 29 | * @param SerializerInterface $serializer A SerializerInterface instance 30 | */ 31 | public function setSerializer(SerializerInterface $serializer) 32 | { 33 | $this->serializer = $serializer; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/CircularReferenceDummy.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\Serializer\Tests\Fixtures; 13 | 14 | /** 15 | * @author Kévin Dunglas 16 | */ 17 | class CircularReferenceDummy 18 | { 19 | public function getMe() 20 | { 21 | return $this; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/DenormalizableDummy.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\Serializer\Tests\Fixtures; 13 | 14 | use Symfony\Component\Serializer\Normalizer\DenormalizableInterface; 15 | use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; 16 | 17 | class DenormalizableDummy implements DenormalizableInterface 18 | { 19 | public function denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = array()) 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/GroupDummyInterface.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\Serializer\Tests\Fixtures; 13 | 14 | use Symfony\Component\Serializer\Annotation\Groups; 15 | 16 | /** 17 | * @author Kévin Dunglas 18 | */ 19 | interface GroupDummyInterface 20 | { 21 | /** 22 | * @Groups({"a", "name_converter"}) 23 | */ 24 | public function getSymfony(); 25 | } 26 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/JsonSerializableDummy.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\Serializer\Tests\Fixtures; 13 | 14 | class JsonSerializableDummy implements \JsonSerializable 15 | { 16 | public function jsonSerialize() 17 | { 18 | return array( 19 | 'foo' => 'a', 20 | 'bar' => 'b', 21 | 'baz' => 'c', 22 | 'qux' => $this, 23 | ); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/MaxDepthDummy.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\Serializer\Tests\Fixtures; 13 | 14 | use Symfony\Component\Serializer\Annotation\MaxDepth; 15 | 16 | /** 17 | * @author Kévin Dunglas 18 | */ 19 | class MaxDepthDummy 20 | { 21 | /** 22 | * @MaxDepth(2) 23 | */ 24 | public $foo; 25 | 26 | public $bar; 27 | 28 | /** 29 | * @var self 30 | */ 31 | public $child; 32 | 33 | /** 34 | * @MaxDepth(3) 35 | */ 36 | public function getBar() 37 | { 38 | return $this->bar; 39 | } 40 | 41 | public function getChild() 42 | { 43 | return $this->child; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/PropertyCircularReferenceDummy.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\Serializer\Tests\Fixtures; 13 | 14 | /** 15 | * @author Kévin Dunglas 16 | */ 17 | class PropertyCircularReferenceDummy 18 | { 19 | public $me; 20 | 21 | public function __construct() 22 | { 23 | $this->me = $this; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/ProxyDummy.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\Serializer\Tests\Fixtures; 13 | 14 | /** 15 | * @author Kévin Dunglas 16 | */ 17 | class ProxyDummy extends ToBeProxyfiedDummy 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/StaticConstructorDummy.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\Serializer\Tests\Fixtures; 13 | 14 | class StaticConstructorDummy 15 | { 16 | public $foo; 17 | public $bar; 18 | public $quz; 19 | 20 | public static function create($foo) 21 | { 22 | $dummy = new self(); 23 | $dummy->quz = $foo; 24 | 25 | return $dummy; 26 | } 27 | 28 | private function __construct() 29 | { 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/ToBeProxyfiedDummy.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\Serializer\Tests\Fixtures; 13 | 14 | /** 15 | * @author Kévin Dunglas 16 | */ 17 | class ToBeProxyfiedDummy 18 | { 19 | private $foo; 20 | 21 | public function setFoo($foo) 22 | { 23 | $this->foo = $foo; 24 | } 25 | 26 | public function getFoo() 27 | { 28 | return $this->foo; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/TraversableDummy.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\Serializer\Tests\Fixtures; 13 | 14 | class TraversableDummy implements \IteratorAggregate 15 | { 16 | public $foo = 'foo'; 17 | public $bar = 'bar'; 18 | 19 | public function getIterator() 20 | { 21 | return new \ArrayIterator(get_object_vars($this)); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/VariadicConstructorArgsDummy.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\Serializer\Tests\Fixtures; 13 | 14 | class VariadicConstructorArgsDummy 15 | { 16 | private $foo; 17 | 18 | public function __construct(...$foo) 19 | { 20 | $this->foo = $foo; 21 | } 22 | 23 | public function getFoo() 24 | { 25 | return $this->foo; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/empty-mapping.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/vendor/symfony/serializer/Tests/Fixtures/empty-mapping.yml -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/invalid-mapping.yml: -------------------------------------------------------------------------------- 1 | foo -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/serialization.yml: -------------------------------------------------------------------------------- 1 | 'Symfony\Component\Serializer\Tests\Fixtures\GroupDummy': 2 | attributes: 3 | foo: 4 | groups: ['group1', 'group2'] 5 | bar: 6 | groups: ['group2'] 7 | 'Symfony\Component\Serializer\Tests\Fixtures\MaxDepthDummy': 8 | attributes: 9 | foo: 10 | max_depth: 2 11 | bar: 12 | max_depth: 3 13 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/test.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/vendor/symfony/serializer/Tests/Fixtures/test.gif -------------------------------------------------------------------------------- /vendor/symfony/serializer/Tests/Fixtures/test.txt: -------------------------------------------------------------------------------- 1 | Kévin Dunglas 2 | -------------------------------------------------------------------------------- /vendor/symfony/serializer/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | ./Tests/ 16 | 17 | 18 | 19 | 20 | 21 | ./ 22 | 23 | ./Tests 24 | ./vendor 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /views/img/brad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/views/img/brad.png -------------------------------------------------------------------------------- /views/img/info/auction-premium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/views/img/info/auction-premium.png -------------------------------------------------------------------------------- /views/img/info/developers-badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/views/img/info/developers-badge.png -------------------------------------------------------------------------------- /views/img/info/invertus_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/views/img/info/invertus_logo.png -------------------------------------------------------------------------------- /views/img/info/product-labels-advanced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/views/img/info/product-labels-advanced.png -------------------------------------------------------------------------------- /views/img/info/ps-platinum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/views/img/info/ps-platinum.png -------------------------------------------------------------------------------- /views/img/info/related-products-premium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/views/img/info/related-products-premium.png -------------------------------------------------------------------------------- /views/img/info/youtube-product-simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Invertus/elasticsearch/e61628fcb9f72b931d35716b6219d168d16308aa/views/img/info/youtube-product-simple.png --------------------------------------------------------------------------------