Home
last modified time | relevance | path

Searched refs:argument (Results 51 – 75 of 219) sorted by relevance

123456789

/plugin/findologicxmlexport/vendor/phpspec/prophecy/
H A DREADME.md157 argument - `'123'` to always return `'value'`. But that's only for this
217 like simple method arguments, in reality they are not. They are argument token
225 Those argument tokens are simple PHP classes, that implement
240 - `ExactValueToken` or `Argument::exact($value)` - checks that the argument matches a specific value
241 - `TypeToken` or `Argument::type($typeOrClass)` - checks that the argument matches a specific type …
243 - `ObjectStateToken` or `Argument::which($method, $value)` - checks that the argument method returns
245 - `CallbackToken` or `Argument::that(callback)` - checks that the argument matches a custom callback
246 - `AnyValueToken` or `Argument::any()` - matches any argument
252 So, let's refactor our initial `{set,get}Name()` logic with argument tokens:
275 That's it. Now our `{set,get}Name()` prophecy will work with any string argument provided to it.
[all …]
H A DCHANGES.md90 * Enhance exception for invalid argument to ThrowPromise (thanks @Tobion)
102 * Fixed bug in closure-based argument tokens (#181)
110 * Add ability to specify which argument is returned in willReturnArgument (thanks @coderbyheart)
156 …* Added a clss patch for ReflectionClass::newInstance to make its argument optional consistently (…
/plugin/findologicxmlexport/vendor/twig/extensions/doc/
H A Ddate.rst34 a DateTime instance. Do not set this argument to use current date.
40 as constructor argument. The returned string is formatted as ``diff.ago.XXX``
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Argument/Token/
H A DTokenInterface.php28 public function scoreArgument($argument); argument
H A DAnyValueToken.php28 public function scoreArgument($argument) argument
H A DAnyValuesToken.php28 public function scoreArgument($argument) argument
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/
H A DConfiguration.php325 foreach ($node->childNodes as $argument) {
326 if ($argument instanceof DOMElement) {
327 if ($argument->tagName == 'file' ||
328 $argument->tagName == 'directory') {
329 … $arguments[] = $this->toAbsolutePath((string) $argument->textContent);
331 $arguments[] = PHPUnit_Util_XML::xmlToVariable($argument);
/plugin/latexport/implementation/
H A Ddecorator.php143 * @param argument If specified, to be included in square brackets. Depending
147 function appendCommand($command, $scope, $argument = '') { argument
149 $this->decorator->appendCommand($command, $scope, $argument);
157 * @param argument If specified, to be included in square brackets. Depending
161 function appendInlineCommand($command, $scope, $argument = '') { argument
163 $this->decorator->appendInlineCommand($command, $scope, $argument);
/plugin/combo/vendor/symfony/process/
H A DCHANGELOG.md50 * added a second `array $env = []` argument to the `start()`, `run()`,
52 * added a second `array $env = []` argument to the `start()` method of the
73 * added `$env` argument to `Process::start()`, `run()`, `mustRun()` and `restart()` methods
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Dreplace_invalid_arg.test2 Exception for invalid argument type in replace call
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/
H A Dblock_without_name.test12 Twig\Error\SyntaxError: The "block" function takes one argument (the block name) in "base.twig" at …
H A Dblock_with_template.test2 "block" function with a template argument
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/
H A Dmacro.rst21 Each argument can have a default value (here ``text`` is the default value for
26 Before Twig 1.12, defining default argument values was done via the
47 You can pass the whole context as an argument by using the special
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/
H A Ddefined_for_blocks_with_template.test2 "defined" support for blocks with a template argument
/plugin/latexport/_test/
H A Ddecorator_mock.php142 function appendCommand($command, $scope, $argument = '') { argument
143 $this->listOfCommands->enqueue(new CommandAppendCommand($command, $scope, $argument));
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Dslice.rst37 {# you can omit the first argument -- which is the same as 0 #}
40 {# you can omit the last argument -- which will select everything till the end #}
/plugin/highlightjs/highlight/styles/
H A Dascetic.css15 .filter .argument,
H A Dvs.css47 .filter .argument,
/plugin/dir/
H A DREADME9 This version of Dir Plugin is modified to accept the argument namespacename
/plugin/codemirror/dist/modes/
H A Dstex.min.js1argument=null;this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null};this.ope…
/plugin/monthcal/
H A Dsyntax.php80 foreach ($arguments as $argument) {
81 list($key, $value) = explode('=', $argument);
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
H A Dconstant.rst5 constant now accepts object instances as the second argument.
/plugin/findologicxmlexport/vendor/twig/twig/doc/tests/
H A Dconstant.rst5 constant now accepts object instances as the second argument.
/plugin/spreadout/
H A Dsyntax.php160 * argument adding a raw UTF-8 character sequence to the
/plugin/findologicxmlexport/vendor/hoa/consistency/Test/Unit/
H A DXcallable.php273 protected function _get_valid_callback_stream_xxx($argument, $method) argument
278 $arguments = [$argument],

123456789