Initial PHP Slim project structure

This commit is contained in:
gballan committed 2022-11-25 15:46:18 -05:00
1 parent 5581f0de90
commit ade48ccb2f
14 files changed
+1535 -22

No files matched your search

+19
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);
}
}