addressbook/public/index.php

14 lines
363 B
PHP

<?php
ini_set(option: 'display_errors', value: 1);
ini_set(option: 'display_startup_errors', value: 1);
error_reporting(error_level: E_ALL);
require dirname(path: __DIR__) . '/src/bootstrap.php';
use App\Controller\AddressBook;
$container = new \App\Service\Container();
$addressBook = $container->get(AddressBook::class);
//$addressBook = new AddressBook();