Home
last modified time | relevance | path

Searched refs:argument (Results 1 – 25 of 188) sorted by relevance

12345678

/plugin/findologicxmlexport/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/
H A DMethod.php139 $argument = explode(' ', self::stripRestArg(trim($argument)), 2);
147 $argument[1] = self::stripRestArg($argument[1]);
201 $arguments[] = $argument['type'] . ' $' . $argument['name'];
213 foreach ($arguments as &$argument) {
214 if (is_string($argument)) {
215 $argument = [ 'name' => $argument ];
218 if (! isset($argument['type'])) {
222 $keys = array_keys($argument);
236 if (strpos($argument, '...') === 0) {
237 $argument = trim(substr($argument, 3));
[all …]
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Argument/Token/
H A DArrayEntryToken.php47 public function scoreArgument($argument) argument
49 if ($argument instanceof \Traversable) {
50 $argument = iterator_to_array($argument);
53 if ($argument instanceof \ArrayAccess) {
54 $argument = $this->convertArrayAccessToEntry($argument);
57 if (!is_array($argument) || empty($argument)) {
61 $keyScores = array_map(array($this->key,'scoreArgument'), array_keys($argument));
62 $valueScores = array_map(array($this->value,'scoreArgument'), $argument);
H A DArrayCountToken.php39 public function scoreArgument($argument) argument
41 return $this->isCountable($argument) && $this->hasProperCount($argument) ? 6 : false;
70 private function isCountable($argument) argument
72 return (is_array($argument) || $argument instanceof \Countable);
82 private function hasProperCount($argument) argument
84 return $this->count === count($argument);
H A DExactValueToken.php52 public function scoreArgument($argument) argument
54 if (is_object($argument) && is_object($this->value)) {
56 $argument, $this->value
60 $comparator->assertEquals($argument, $this->value);
66 if (is_object($argument) xor is_object($this->value)) {
67 if (is_object($argument) && !method_exists($argument, '__toString')) {
74 } elseif (is_numeric($argument) && is_numeric($this->value)) {
76 } elseif (gettype($argument) !== gettype($this->value)) {
80 return $argument == $this->value ? 10 : false;
H A DLogicalAndToken.php28 foreach ($arguments as $argument) {
29 if (!$argument instanceof TokenInterface) {
30 $argument = new ExactValueToken($argument);
32 $this->tokens[] = $argument;
43 public function scoreArgument($argument) argument
51 $score = $token->scoreArgument($argument);
H A DObjectStateToken.php54 * @param mixed $argument
58 public function scoreArgument($argument) argument
60 if (is_object($argument) && method_exists($argument, $this->name)) {
61 $actual = call_user_func(array($argument, $this->name));
75 if (is_object($argument) && property_exists($argument, $this->name)) {
76 return $argument->{$this->name} === $this->value ? 8 : false;
H A DArrayEveryEntryToken.php41 public function scoreArgument($argument) argument
43 if (!$argument instanceof \Traversable && !is_array($argument)) {
48 foreach ($argument as $key => $argumentEntry) {
H A DStringContainsToken.php33 public function scoreArgument($argument) argument
35 return is_string($argument) && strpos($argument, $this->value) !== false ? 6 : false;
H A DTypeToken.php47 public function scoreArgument($argument) argument
51 return call_user_func($checker, $argument) ? 5 : false;
54 return $argument instanceof $this->type ? 5 : false;
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Argument/
H A DArgumentsWildcard.php34 foreach ($arguments as $argument) {
35 if (!$argument instanceof Token\TokenInterface) {
36 $argument = new Token\ExactValueToken($argument);
39 $this->tokens[] = $argument;
59 $argument = isset($arguments[$i]) ? $arguments[$i] : null;
60 if (1 >= $score = $token->scoreArgument($argument)) {
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/
H A DClassCodeGenerator.php105 return array_map(function (Node\ArgumentNode $argument) use ($typeHintReference) {
109 $php .= $argument->isNullable() ? '?' : '';
112 if ($hint = $argument->getTypeHint()) {
116 $php .= ' '.($argument->isPassedByReference() ? '&' : '');
118 $php .= $argument->isVariadic() ? '...' : '';
120 $php .= '$'.$argument->getName();
122 if ($argument->isOptional() && !$argument->isVariadic()) {
123 $php .= ' = '.var_export($argument->getDefault(), true);
/plugin/jplayer/vendor/symfony/process/
H A DProcessUtils.php35 * @param string $argument The argument that will be escaped
41 public static function escapeArgument($argument) argument
50 if ('' === $argument) {
51 return escapeshellarg($argument);
56 …foreach (preg_split('/(")/', $argument, -1, \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE) as $…
78 return "'".str_replace("'", "'\\''", $argument)."'";
/plugin/directorylist/
H A Dreadme.md26 ### Path argument
28 The path argument specifies the path which the directorylist plugin will list.
39 ### Ingore argument
41 You can ignore directories or files with the ignore argument.
45 This argument is optional, the value is empty.
53 ### Recursive argument
57 This argument is optional, the default value is: ``true``.
71 ### Fileorder argument
75 This argument is optional, the default value is: ``asc``.
84 ### Type argument
[all …]
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/
H A DMethodNode.php99 public function addArgument(ArgumentNode $argument) argument
101 $this->arguments[] = $argument;
190 $argument = '$'.$arg->getName();
193 $argument = '...'.$argument;
196 return $argument;
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/
H A DInvalidArgumentHelper.php18 * @param int $argument
24 public static function factory($argument, $type, $value = null) argument
31 $argument,
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Exception/
H A DInvalidArgumentException.php16 * @param int $argument
22 public static function create($argument, $type, $value = null) argument
29 $argument,
/plugin/html2pdf/html2pdf/html2ps/classes/org/active-link/doc/
H A DDocHTML.php79 function getClassDoc($argument) { argument
80 if(is_object($argument) && get_class($argument) == "phpclass")
81 return $this->getClassDocFromClass($argument);
82 elseif(is_string($argument))
83 return $this->getClassDocFromFile($argument);
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
H A Ddate.rst10 Converts an argument to a date to allow date comparison:
18 The argument must be in one of PHP’s supported `date and time formats`_.
20 You can pass a timezone as the second argument:
28 If no argument is passed, the function returns the current date:
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/
H A DCallExpression.php78 foreach ($this->getAttribute('arguments') as $argument) {
82 $compiler->string($argument);
247 foreach ($this->getAttribute('arguments') as $argument) {
252 $argument = end($parameters);
253 …if ($argument && $argument->isArray() && $argument->isDefaultValueAvailable() && [] === $argument-…
/plugin/sequencediagram/bower_components/lodash/lib/fp/template/doc/
H A Dwiki.jst55 // The `lodash/fp/map` iteratee is capped at one argument:
61 Methods that cap iteratees to one argument:<br>
67 The iteratee of `mapKeys` is capped to one argument: `(key)`
115 A fixed arity of two has an argument order of:<br>
118 A fixed arity of three has an argument order of:<br>
121 A fixed arity of four has an argument order of:<br>
126 Methods that accept an array as their last, second to last, or only argument:<br>
129 Methods with unchanged argument orders:<br>
132 Methods with custom argument orders:<br>
138 The iteratee of `reduceRight` has an argument order of: `(b, a)`
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Factory/Loader/
H A DBasePhpFormulaLoader.php156 protected static function argumentToArray($argument) argument
158 … return is_array($argument) ? $argument : array_filter(array_map('trim', explode(',', $argument)));
/plugin/webdav/vendor/sabre/dav/lib/DAV/
H A DPropPatch.php312 $argument = [];
314 $argument[$propertyName] = $this->mutations[$propertyName];
317 $result = $callback($argument);
335 foreach ($argument as $propertyName => $propertyValue) {
/plugin/davcal/vendor/sabre/dav/lib/DAV/
H A DPropPatch.php305 $argument = [];
307 $argument[$propertyName] = $this->mutations[$propertyName];
310 $result = $callback($argument);
328 foreach ($argument as $propertyName => $propertyValue) {
/plugin/jplayer/vendor/symfony/process/Tests/
H A DProcessUtilsTest.php25 public function testEscapeArgument($result, $argument) argument
27 $this->assertSame($result, ProcessUtils::escapeArgument($argument));
/plugin/findologicxmlexport/vendor/sebastian/resource-operations/build/
H A Dgenerate.php16 foreach ($arguments as $argument) {
17 if ($argument == 'resource') {

12345678