Joli\JoliCi\LoggerCallback::__construct PHP Méthode

__construct() public méthode

public __construct ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface
    public function __construct(LoggerInterface $logger)
    {
        $build = new \ReflectionMethod($this, 'buildCallback');
        $runStdout = new \ReflectionMethod($this, 'runStdoutCallback');
        $runStderr = new \ReflectionMethod($this, 'runStderrCallback');
        $this->buildCallback = $build->getClosure($this);
        $this->runStdoutCallback = $runStdout->getClosure($this);
        $this->runStderrCallback = $runStderr->getClosure($this);
        $this->logger = $logger;
    }