Skip to content

Commit e2425cd

Browse files
committed
Merge pull request #200 from koriym/script-injector
use script injector after boot app cached
2 parents ffb0952 + 87934c7 commit e2425cd

21 files changed

+22
-22
lines changed

src/Annotation/StdIn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/AppMetaModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/
@@ -70,8 +70,8 @@ private function getAppInstance(AbstractAppMeta $appMeta, $contexts)
7070
$app = (new ScriptInjector($appMeta->tmpDir))->getInstance(AppInterface::class);
7171
} catch (NotCompiled $e) {
7272
$compiler = new DiCompiler($module, $appMeta->tmpDir);
73-
$app = $compiler->getInstance(AppInterface::class);
7473
$compiler->compile();
74+
$app = (new ScriptInjector($appMeta->tmpDir))->getInstance(AppInterface::class);
7575
}
7676

7777
return $app;

src/Context/ApiModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Context/CliModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Context/HalModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Context/ProdModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Exception/ExceptionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Exception/InvalidContextException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Exception/LogicException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Exception/RuntimeException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/PackageModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Provide/Error/VndError.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Provide/Error/VndErrorModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Provide/Router/CliRouter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Provide/Router/CliRouterHelp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Provide/Router/RouterCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Provide/Router/RouterCollectionProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Provide/Router/WebRouterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Provide/Router/WebRouterModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

src/Provide/Transfer/CliResponder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the BEAR.Package package
3+
* This file is part of the BEAR.Package package.
44
*
55
* @license http://opensource.org/licenses/MIT MIT
66
*/

0 commit comments

Comments
 (0)