Back to Blog

Hello world!

welcome
Hello world!

This is my initial blog message. I created this website to create personal and professional blog posts about programming, IT and some opinion about the world.

I don't want to change the world; I just want to document what I do, which might be interesting to others as well.

I have a lot of projects I should upload here. Let's start! 🙂️

Peace!

— Lang

php
1<?php
2
3namespace SplendidBear\Controller;
4
5use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
6use Symfony\Component\HttpKernel\Attribute\AsController;
7
8/**
9 * Class HelloWorld
10 *
11 * @package  SplendidBear\Controller
12 * @author   Lang <https://www.splendidbear.org>
13 * @category Class
14 * @link     www.splendidbear.org
15 * @since    2026. 05. 02.
16 */
17#[AsController]
18class HelloWorld extends AbstractController
19{
20    public const string WELCOME_MESSAGE = 'Hello world!';
21
22    public function __invoke(): string
23    {
24        return self::WELCOME_MESSAGE;
25    }
26}