Initial PHP Slim project structure

This commit is contained in:
2022-11-25 15:46:18 -05:00
parent 5581f0de90
commit ade48ccb2f
14 changed files with 1535 additions and 22 deletions

View File

@ -0,0 +1,19 @@
<?php
namespace BitGoblin\Colossus\Controllers;
use Psr\Container\ContainerInterface;
class Controller {
protected $container;
public function __construct(ContainerInterface $container) {
$this->container = $container;
}
public function get(string $name) {
return $this->container->get($name);
}
}