samples/SampleBootstrap.php
public function addAppDependencies()
    {
        /**
         * @var \Pimple\Container $container
         */
        $container = $this->getContainer();
        $container['person'] = $container->protect(function ($name) {
            return 'Person name: ' . $name;
        });

        return $this;
    }
public function addAppDependencies()
    {
        /**
         * @var \Pimple\Container $container
         */
        $container = $this->getContainer();
        $container['person'] = $container->protect(function ($name) {
            return 'Person name: ' . $name;
        });

        return $this;
    }
Sample adding DI
@return static