Mercurial > hg > isophonics-drupal-site
comparison vendor/psy/psysh/src/Reflection/ReflectionLanguageConstructParameter.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 5fb285c0d0e3 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
42 * | 42 * |
43 * @return bool | 43 * @return bool |
44 */ | 44 */ |
45 public function isArray() | 45 public function isArray() |
46 { | 46 { |
47 return array_key_exists('isArray', $this->opts) && $this->opts['isArray']; | 47 return \array_key_exists('isArray', $this->opts) && $this->opts['isArray']; |
48 } | 48 } |
49 | 49 |
50 /** | 50 /** |
51 * Get param default value. | 51 * Get param default value. |
52 * | 52 * |
74 * | 74 * |
75 * @return bool | 75 * @return bool |
76 */ | 76 */ |
77 public function isOptional() | 77 public function isOptional() |
78 { | 78 { |
79 return array_key_exists('isOptional', $this->opts) && $this->opts['isOptional']; | 79 return \array_key_exists('isOptional', $this->opts) && $this->opts['isOptional']; |
80 } | 80 } |
81 | 81 |
82 /** | 82 /** |
83 * Does the param have a default value? | 83 * Does the param have a default value? |
84 * | 84 * |
85 * @return bool | 85 * @return bool |
86 */ | 86 */ |
87 public function isDefaultValueAvailable() | 87 public function isDefaultValueAvailable() |
88 { | 88 { |
89 return array_key_exists('defaultValue', $this->opts); | 89 return \array_key_exists('defaultValue', $this->opts); |
90 } | 90 } |
91 | 91 |
92 /** | 92 /** |
93 * Is the param passed by reference? | 93 * Is the param passed by reference? |
94 * | 94 * |
96 * | 96 * |
97 * @return bool | 97 * @return bool |
98 */ | 98 */ |
99 public function isPassedByReference() | 99 public function isPassedByReference() |
100 { | 100 { |
101 return array_key_exists('isPassedByReference', $this->opts) && $this->opts['isPassedByReference']; | 101 return \array_key_exists('isPassedByReference', $this->opts) && $this->opts['isPassedByReference']; |
102 } | 102 } |
103 } | 103 } |