public function __construct($repository) { $this->_readline = new Hoa\Console\Readline(); $git = new Hoa\Console\Processus('git log --pretty=\'format:\' --patch --reverse --raw -z', null, null, $repository); $git->on('output', xcallable($this, 'output')); $git->on('stop', xcallable($this, 'over')); $git->run(); }