Skip to content

Commit 268d8fc

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: [#13000] Fixed newline Update testing.rst [#12722] Added filename comment to avoid confusion Update micro_kernel_trait.rst Update broken links
2 parents a1d0cc1 + 7500391 commit 268d8fc

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ via Composer:
2222
2323
Next, create an ``index.php`` file that defines the kernel class and executes it::
2424

25+
// index.php
2526
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
2627
use Symfony\Component\Config\Loader\LoaderInterface;
2728
use Symfony\Component\DependencyInjection\ContainerBuilder;

testing.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,8 @@ allows fetching both public and all non-removed private services::
545545

546546
// gives access to the same services used in your test, unless you're using
547547
// $client->insulate() or using real HTTP requests to test your application
548+
// don't forget to call self::bootKernel() before, otherwise, the container
549+
// will be empty
548550
$container = self::$container;
549551

550552
For a list of services available in your application, use the ``debug:container``

0 commit comments

Comments
 (0)