You are here

private function HamlParser::getMultiline in Sassy 7

* Gets the next line. *

Parameters

array first line: * @return array the next line

1 call to HamlParser::getMultiline()
HamlParser::getNextLine in phamlp/haml/HamlParser.php
* Gets the next line. *

File

phamlp/haml/HamlParser.php, line 843

Class

HamlParser
HamlParser class. Parses {@link http://haml-lang.com/ Haml} view files. @package PHamlP @subpackage Haml

Code

private function getMultiline($line) {
  do {
    $multiLine = array_shift($this->source);
    $line[self::HAML_CONTENT] .= substr($multiLine[self::HAML_SOURCE], 0, -2);
  } while (!empty($this->source) && $this
    ->isMultiline($this->source[0]));
  return $line;
}