You are here

private function DebugFormatterHelper::getBorder in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Helper/DebugFormatterHelper.php \Symfony\Component\Console\Helper\DebugFormatterHelper::getBorder()

Parameters

string $id The id of the formatting session:

Return value

string

3 calls to DebugFormatterHelper::getBorder()
DebugFormatterHelper::progress in vendor/symfony/console/Helper/DebugFormatterHelper.php
Adds progress to a formatting session.
DebugFormatterHelper::start in vendor/symfony/console/Helper/DebugFormatterHelper.php
Starts a debug formatting session.
DebugFormatterHelper::stop in vendor/symfony/console/Helper/DebugFormatterHelper.php
Stops a formatting session.

File

vendor/symfony/console/Helper/DebugFormatterHelper.php, line 115

Class

DebugFormatterHelper
Helps outputting debug information when running an external program from a command.

Namespace

Symfony\Component\Console\Helper

Code

private function getBorder($id) {
  return sprintf('<bg=%s> </>', $this->colors[$this->started[$id]['border']]);
}