Lines Matching full:input
38 $getObj = function($input) use ($self) {
40 if (is_resource($input)) {
41 $input = stream_get_contents($input);
43 if (is_string($input)) {
44 $input = Reader::read($input);
46 if (!$input instanceof Component) {
47 $this->fail('Input must be a string, stream or VObject component');
49 unset($input->PRODID);
50 if ($input instanceof Component\VCalendar && (string)$input->CALSCALE === 'GREGORIAN') {
51 unset($input->CALSCALE);
53 return $input;