builder = $builder; } /** * @param Context $context * @param \Closure $next * @return mixed * @throws \Enzyme\Axiom\Exceptions\AtomException */ public function handle(Context $context, \Closure $next) { $line = $context->current(); list($key, $data) = $this->getKeyDataFromLine($line); if ($key === 'T') { $this->builder->addTitle($data); } return $next($context); } }