Lines Matching full:input
37 $getObj = function ($input) {
38 if (is_resource($input)) {
39 $input = stream_get_contents($input);
41 if (is_string($input)) {
42 $input = Reader::read($input);
44 if (!$input instanceof Component) {
45 $this->fail('Input must be a string, stream or VObject component');
47 unset($input->PRODID);
48 … if ($input instanceof Component\VCalendar && 'GREGORIAN' === (string) $input->CALSCALE) {
49 unset($input->CALSCALE);
52 return $input;