Lines Matching full:input
23 * The input data.
27 protected $input; variable in Sabre\\VObject\\Parser\\Json
39 * If the input was not supplied during construction, it's possible to pass
42 * If either input or options are not supplied, the defaults will be used.
44 * @param resource|string|array|null $input
49 public function parse($input = null, $options = 0) argument
51 if (!is_null($input)) {
52 $this->setInput($input);
54 if (is_null($this->input)) {
55 throw new EofException('End of input stream, or no input supplied');
62 switch ($this->input[0]) {
72 foreach ($this->input[1] as $prop) {
75 if (isset($this->input[2])) {
76 foreach ($this->input[2] as $comp) {
81 // Resetting the input so we can throw an feof exception the next time.
82 $this->input = null;
178 * Sets the input data.
180 * @param resource|string|array $input
182 public function setInput($input) argument
184 if (is_resource($input)) {
185 $input = stream_get_contents($input);
187 if (is_string($input)) {
188 $input = json_decode($input);
190 $this->input = $input;