Lines Matching refs:line
150 $line = $this->readLine();
154 if (3 <= strlen($line)
155 && ord($line[0]) === 0xef
156 && ord($line[1]) === 0xbb
157 && ord($line[2]) === 0xbf) {
158 $line = substr($line, 3);
161 switch (strtoupper($line)) {
177 $line = $this->readLine();
178 if (strtoupper(substr($line, 0, 4)) === 'END:') {
181 $result = $this->parseLine($line);
188 $name = strtoupper(substr($line, 4));
199 * @param string $line Unfolded line
203 protected function parseLine($line) { argument
206 if (strtoupper(substr($line, 0, 6)) === 'BEGIN:') {
208 $component = $this->root->createComponent(substr($line, 6), [], false);
213 $line = $this->readLine();
214 if (strtoupper(substr($line, 0, 4)) === 'END:') {
217 $result = $this->parseLine($line);
224 $name = strtoupper(substr($line, 4));
234 $property = $this->readProperty($line);
305 $line = $rawLine;
318 $line .= substr($nextLine, 1);
327 return $line;
336 protected function readProperty($line) { argument
362 preg_match_all($regex, $line, $matches, PREG_SET_ORDER);