Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Commit

Permalink
Booting -> Bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 27, 2019
1 parent 375c72a commit 862d457
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/Booting.php → app/Bootstrap.php
Expand Up @@ -7,7 +7,7 @@
use Nette\Configurator;


class Booting
class Bootstrap
{
public static function boot(): Configurator
{
Expand Down
2 changes: 1 addition & 1 deletion bin/create-user.php
Expand Up @@ -5,7 +5,7 @@
require __DIR__ . '/../vendor/autoload.php';


$container = App\Booting::boot()
$container = App\Bootstrap::boot()
->createContainer();

if (!isset($_SERVER['argv'][3])) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -37,7 +37,7 @@
"nette/tester": "^2.0"
},
"autoload": {
"classmap": ["app/Booting.php"]
"classmap": ["app/Bootstrap.php"]
},
"minimum-stability": "dev",
"config": {
Expand Down
2 changes: 1 addition & 1 deletion tests/ExampleTest.php
Expand Up @@ -34,7 +34,7 @@ public function testSomething()
}


$container = \App\Booting::bootForTests()
$container = \App\Bootstrap::bootForTests()
->createContainer();

$test = new ExampleTest($container);
Expand Down
2 changes: 1 addition & 1 deletion www/index.php
Expand Up @@ -4,7 +4,7 @@

require __DIR__ . '/../vendor/autoload.php';

App\Booting::boot()
App\Bootstrap::boot()
->createContainer()
->getByType(Nette\Application\Application::class)
->run();

0 comments on commit 862d457

Please sign in to comment.