Lines Matching refs:input
27 protected $input; variable in Sabre\\VObject\\Parser\\Json
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)) {
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) {
82 $this->input = null;
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;