title: Phalcon initialize function in models
body: <p>I have 3 models, Where</p>
  
  <pre><code>Basemodel
  Model_A
  Model_B
  
  In Basemodel i have initialize function setting a property value
  
  In Model_A i don't have initialize function, if i return anything from model 
  it will be successful
  
  In Model_B i have initialize function, if i return anything from this model 
  its not returning anything. No Error, Nothing, Just Blank.
  </code></pre>
  
  <p><strong>Base Models With initialize()</strong></p>
  
  <pre><code>class Basemodel extends \Phalcon\Mvc\Model {
  
      protected $name;
  
      function initialize() {
          $this-&gt;name = 'MyApplication';
      }
  
  }
  </code></pre>
  
  <p><strong>Model A Without initialize():</strong></p>
  
  <pre><code>class Model_a extends Basemodel {
      function test() {
          return $this-&gt;name; // WORKING
      }
  }
  </code></pre>
  
  <p><strong>Model B With initialize():</strong></p>
  
  <pre><code>class Model_b extends Basemodel {
      public $b;
      function initialize() {
          $this-&gt;b = 'someName';
      }
  
      function rawtext() {
          return $this-&gt;name;  // NOT WORKING
      }
  }
  </code></pre>
  
  <p>If remove <strong>initialize()</strong> from Model_B, Then its returning the value successfully</p>