Skip to content

Commit

Permalink
Added missing doc comment [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
maximebf committed Feb 3, 2012
1 parent 9571f86 commit cf28f40
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/ConsoleKit/Colors.php
Expand Up @@ -112,6 +112,14 @@ public static function colorize($text, $fgcolor = null, $bgcolor = null)
return $text;
}

/**
* Returns a text with each lines colorized independently
*
* @param string $text
* @param string $fgcolor
* @param string $bgcolor
* @return string
*/
public static function colorizeLines($text, $fgcolor = null, $bgcolor = null)
{
$lines = explode("\n", $text);
Expand Down

0 comments on commit cf28f40

Please sign in to comment.