This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function testDoSomething() | |
{ | |
$container = new Container(); | |
$puller = new DependencyPuller($container); | |
$result = $puller->doSomething(); | |
$this->assertTrue($result); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// src/frastel/BlogPlaygroundBundle/Container/DependencyPuller.php | |
namespace frastel\BlogPlaygroundBundle\Container; | |
use Symfony\Component\DependencyInjection\ContainerInterface; | |
class DependencyPuller | |
{ | |
private $container; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// src/frastel/BlogPlaygroundBundle/Container/DependencyPuller.php | |
namespace frastel\BlogPlaygroundBundle\Container; | |
use Symfony\Component\DependencyInjection\ContainerInterface; | |
class DependencyPuller | |
{ | |
private $container; |
NewerOlder