@media in mixin (lessphp)
<p>I would like to make own mixin wtih mediaqueries like this.</p>

<pre><code>@maxWidth: 1170px;

.breakpoint(@maxWidth) {
  @media screen and (max-width: @maxWidth) {
    @content;
   }
 }
</code></pre>

<p>But @media in mixin doesn't work. Support it lessphp or not? If not, how can I fix it?</p>

<p>P.S. I don't want to make a lot of copies of this rule (@media screen and (max-width: @maxWidth)) in my all .less files.</p>

<p>Thanks!</p>