src/utils/Code.php
public static function lines($text, $start, $end)
	{
		$lines      = explode(PHP_EOL, $text);
		$code       = implode(PHP_EOL, array_slice($lines, $start - 1, $end - $start + 1));
		return $code;
	}
public static function lines($text, $start, $end)
	{
		$lines      = explode(PHP_EOL, $text);
		$code       = implode(PHP_EOL, array_slice($lines, $start - 1, $end - $start + 1));
		return $code;
	}
public static function lines ( $ text , $ start , $ end ) { $ lines = explode ( PHP_EOL , $ text ) ; $ code = implode ( PHP_EOL , array_slice ( $ lines , $ start - 1 , $ end - $ start + 1 ) ) ; return $ code ; }
Return a range of lines from a block of text

@param   string  $text
@param   int     $start
@param   int     $end
@return  string
Return a range of lines from a block of text