for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Webino™ (http://webino.sk)
*
* @link https://github.com/webino for the canonical source repository
* @copyright Copyright (c) 2015-2017 Webino, s.r.o. (http://webino.sk)
* @author Peter Bačinský <[email protected]>
* @license BSD-3-Clause
*/
namespace WebinoAppLib\Feature;
use WebinoAppLib\Application\AbstractConfig;
use WebinoConfigLib\Feature\FeatureInterface;
* Class DebugBarInfo
class DebugBarInfo extends AbstractConfig implements
FeatureInterface
{
* @param string|array $info
* @param string|null $value
public function __construct($info, $value = null)
$_info = is_string($info) ? $info = [$info => (string) $value] : (array) $info;
parent::__construct([[DefaultDebugger::DEBUGGER => [DefaultDebugger::INFO => $_info]]]);
}