Home
last modified time | relevance | path

Searched refs:factory (Results 51 – 75 of 330) sorted by last modified time

12345678910>>...14

/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A DPumpStreamTest.php26 $p = Stream::factory(function ($size) {
38 $p = Stream::factory(function ($size) use (&$called) {
51 $p = Stream::factory(function () { return 'a'; });
58 $p = Stream::factory(function () {});
74 $p = Stream::factory(function () {});
H A DStreamDecoratorTraitTest.php31 $this->a = Stream::factory($this->c);
H A DStreamTest.php124 $stream = Stream::factory($h);
175 $stream = Stream::factory('foo');
183 $s = Stream::factory();
190 $s = Stream::factory($r);
198 $s = Stream::factory($r);
205 $s = Stream::factory('foo');
206 $this->assertSame($s, Stream::factory($s));
212 Stream::factory(new \stdClass());
217 $s = Stream::factory('foo', ['metadata' => ['hwm' => 3]]);
224 $s = Stream::factory('', ['siz
[all...]
H A DUtilsTest.php16 $s = Stream::factory('foobaz');
26 $s1 = Stream::factory('foobaz');
38 $s1 = Stream::factory('foobaz');
39 $s2 = Stream::factory('');
42 $s2 = Stream::factory('');
52 $s1 = Stream::factory('foobaz');
53 $s2 = Stream::factory('');
61 $s1 = Stream::factory('foobaz');
62 $s2 = Stream::factory('');
70 $s1 = Stream::factory('fooba
[all...]
H A DAsyncReadStreamTest.php19 Stream::factory(),
29 Stream::factory(),
36 $a = new AsyncReadStream(Stream::factory(), [
H A DFnStreamTest.php56 $a = Stream::factory('foo');
83 $a = Stream::factory('foo');
H A DGuzzleStreamWrapperTest.php16 $stream = Stream::factory('foo');
H A DInflateStreamTest.php13 $a = Stream::factory($content);
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
H A DLazyOpenStream.php35 return Stream::factory(Utils::open($this->filename, $this->mode));
H A DStream.php36 * This factory accepts the same associative array of options as described
45 public static function factory($resource = '', array $options = []) function in GuzzleHttp\\Stream\\Stream
67 return self::factory((string) $resource, $options);
/plugin/elasticsearch/vendor/ezimuel/ringphp/src/Client/
H A DCurlHandler.php19 private $factory; variable in GuzzleHttp\\Ring\\Client\\CurlHandler
33 * - factory: Optional callable factory used to create cURL handles.
43 $this->factory = isset($options['handle_factory'])
81 $factory = $this->factory;
84 $result = $factory($request, $this->checkoutEasyHandle());
H A DCurlMultiHandler.php23 private $factory; variable in GuzzleHttp\\Ring\\Client\\CurlMultiHandler
50 $this->factory = isset($options['handle_factory'])
82 $factory = $this->factory;
83 $result = $factory($request);
H A DStreamHandler.php76 $stream = new InflateStream(Stream::factory($stream));
97 $stream = Stream::factory($stream);
109 : Stream::factory($dest);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/
H A DAbstractConnectionPool.php64 * @param ConnectionFactoryInterface $factory ConnectionFactory instance
67 public function __construct(array $connections, SelectorInterface $selector, ConnectionFactoryInterface $factory, array $connectionPoolParams) argument
86 $this->connectionFactory = $factory;
H A DSniffingConnectionPool.php43 public function __construct($connections, SelectorInterface $selector, ConnectionFactoryInterface $factory, $connectionPoolParams) argument
45 parent::__construct($connections, $selector, $factory, $connectionPoolParams);
H A DSimpleConnectionPool.php32 public function __construct($connections, SelectorInterface $selector, ConnectionFactoryInterface $factory, $connectionPoolParams) argument
34 parent::__construct($connections, $selector, $factory, $connectionPoolParams);
H A DStaticConnectionPool.php42 public function __construct($connections, SelectorInterface $selector, ConnectionFactoryInterface $factory, $connectionPoolParams) argument
44 parent::__construct($connections, $selector, $factory, $connectionPoolParams);
H A DStaticNoPingConnectionPool.php42 public function __construct($connections, SelectorInterface $selector, ConnectionFactoryInterface $factory, $connectionPoolParams) argument
44 parent::__construct($connections, $selector, $factory, $connectionPoolParams);
/plugin/elasticsearch/vendor/ruflin/elastica/
H A DCHANGELOG.md371 * Changed all factory methods to make use of [late static bindings](http://docs.php.net/manual/en/language.oop5.late-static-bindings.php) by using `static` instead of `self` keyword. This is to increase extendability for classes with factory methods.
1703 - Added factory for transports that is used by the Connection class
/plugin/elasticsearch/vendor/react/promise/
H A DREADME.md440 Creates a promise which will be lazily initialized by `$factory` once a consumer
444 $factory = function () {
452 $promise = new React\Promise\LazyPromise($factory);
454 // $factory will only be executed once we call then()
/plugin/elasticsearch/vendor/react/promise/src/
H A DLazyPromise.php10 private $factory; variable in React\\Promise\\LazyPromise
13 public function __construct(callable $factory) argument
15 $this->factory = $factory;
56 $this->promise = resolve(\call_user_func($this->factory));
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dconfiguration.asciidoc23 * <<connection-factory>>
50 include::connection-factory.asciidoc[]
H A Dconnection-factory.asciidoc1 [[connection-factory]]
H A Dconnection-pool.asciidoc171 public function __construct($connections, SelectorInterface $selector, ConnectionFactory $factory, $connectionPoolParams)
173 parent::__construct($connections, $selector, $factory, $connectionPoolParams);
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/Exception/
H A DSeekExceptionTest.php12 $s = Stream::factory('foo');

12345678910>>...14