Yves Bootstrapping

Edit on GitHub

Yves and Zed are both built upon the Symfony components. So most concepts about modern web frameworks are applied here as well.

In static/public/Yves/index.php, you will find the entry for the front-end application.


$errorHandlerEnvironment = new ErrorHandlerEnvironment();

$bootstrap = new YvesBootstrap();

The boot() method returns an application which has the run() method that processes the request and returns a response to the browser. YvesBootstrap is responsible for building the desired application. The registration process is handled by the boot() operation.

Application plugins

The application is using application plugins that are used to add the required base functionality of your project.


namespace Pyz\Yves\ShopApplication;
// ...

class ShopApplicationDependencyProvider extends SprykerShopApplicationDependencyProvider

     * @return \Spryker\Shared\ApplicationExtension\Dependency\Plugin\ApplicationPluginInterface[]
    protected function getApplicationPlugins(): array
        return [
            new TwigApplicationPlugin(),
            new EventDispatcherApplicationPlugin(),
            // ...
// ...