You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
340 B
PHP
26 lines
340 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: eater
|
|
* Date: 4/2/16
|
|
* Time: 3:32 PM
|
|
*/
|
|
|
|
namespace Eater\Glim\Service;
|
|
|
|
|
|
use Slim\Container;
|
|
use Slim\App;
|
|
|
|
class Slim
|
|
{
|
|
/**
|
|
* @param Container $c
|
|
* @param string $name
|
|
* @return App
|
|
*/
|
|
static public function init($c, $name)
|
|
{
|
|
return new App($c);
|
|
}
|
|
} |