protected isBlockLine ( string $line ) : boolean | ||
$line | string | the line text |
return | boolean | true if the line is still in a block |
protected function isBlockLine($line)
{
if (strlen($line)) {
return !trim($line[0]);
} else {
return !trim($line);
}
}