title: Using $this when not in object context - Laravel 4 PHP 5.4.12
body: <p>I was attemping to access on my instance on the constructor with the variable $this; In all other method it seem work good when i call <code>$this-&gt;event-&gt;method()</code> but on this method it throw me an error </p>
  
  <blockquote>
    <p>Using $this when not in object context</p>
  </blockquote>
  
  <p>I just did a research about this issue and the answers i found was all about the version of PHP but i have the version 5.4. what can be the issue?</p>
  
  <p>This is the method that i try to call the instance.</p>
  
  <pre><code>// all protected variable $event , $team , $app
  function __construct(EventTeamInterface $event,TeamInterface $team) {
      $this-&gt;event = $event;
      $this-&gt;team = $team;
      $this-&gt;app = app();
    }
  
    /**
    * @param $infos array() | 
    * @return array() | ['status'] | ['msg'] | ['id']
    */
    public static function createEvent($infos = array()){
        $create_event = $this-&gt;event-&gt;create($infos);
          if ($create_event) {
              $result['status'] = "success";
              $result['id'] = $create_event-&gt;id;
          } else {
              $result['status'] = "error";
              $result['msg'] = $create_event-&gt;errors();
          }
  
          return $result;
    }
  </code></pre>