title: Call model method in Yii2
body: <p>What's the easy way of calling model method in Yii2. Something like:</p>
  
  <pre><code>$a = User::model()-&gt;method();
  </code></pre>
  
  <p>Code like this:</p>
  
  <pre><code>$a = new User()-&gt;method();
  </code></pre>
  
  <p>don't work.</p>