title: Dependency injection in PHP traits
body: <p>Do traits actually work with dependency injection? Consider the following code:</p>
  
  <p>Trait Class</p>
  
  <pre><code>namespace Frame\Slick\Block;
  use Frame\Slider\Slick\Block\Data as Helper
  
  trait Slick
  {
     protected $_slickHelper;
     public function __construct(Helper $slickHelper) 
     {
       $this-&gt;_slickHelper = $slickHelper;
     }
  }
  </code></pre>
  
  <p>Class using the trait</p>
  
  <pre><code>namespace Frame\Slick\Block;
  
  class Product ListProduct implements BlockInterface 
  {
     use Slick;
     public function testTrait()
     {
        return $this-&gt;_slickHelper-&gt;getHelloWorld();
     }
  }
  </code></pre>
  
  <p>This seems to always return null, am very sure everything is being included properly. Can trait really support dependency injection?</p>