dumper = $devel_dumper_manager; } /** * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static( $container->get('devel.dumper') ); } /** * @return array */ public function dump() { $this->dumper->dump('Test output'); return [ '#markup' => 'test', ]; } /** * @return array */ public function message() { $this->dumper->message('Test output'); return [ '#markup' => 'test', ]; } /** * @return array */ public function debug() { $this->dumper->debug('Test output'); return [ '#markup' => 'test', ]; } /** * @return array */ public function export() { return [ '#markup' => $this->dumper->export('Test output'), ]; } /** * @return array */ public function exportRenderable() { return $this->dumper->exportAsRenderable('Test output'); } }