title: How to automatically generate parameter assignations in class constructors in PhpStorm?
body: <p>Does anyone know how to save typing in PhpStorm when you create a class constructor and you want to assign all the parameters to the respective class fields? I write it by hand now and I can do it quite quickly with the autocomplete feature, yet it is still a very tedious process.</p>
  
  <p>For example:</p>
  
  <pre><code>class Foo
  {
      private $param1; 
      private $param2;
      private $param3;    
  
      public function __construct($param1, $param2, $param3) {
            // Can I somehow automatically generate the following lines:
            //
            // $this-&gt;param1 = $param1;
            // $this-&gt;param2 = $param2;
            // $this-&gt;param3 = $param3;
            //
            //?
      }      
  }
  </code></pre>