Lines Matching defs:channel
104 * @param resource $channel file descriptor to write to
108 public function ptln($line, $color, $channel = STDOUT)
110 $this->set($color, $channel);
111 fwrite($channel, rtrim($line) . "\n");
112 $this->reset($channel);
151 * @param resource $channel file descriptor to write to
154 public function set($color, $channel = STDOUT)
156 fwrite($channel, $this->getColorCode($color));
162 * @param resource $channel file descriptor to write to
166 public function reset($channel = STDOUT)
168 $this->set('reset', $channel);