Używanie $ this, gdy nie jest w kontekście obiektu - Laravel 4 PHP 5.4.12

Próbowałem uzyskać dostęp do mojej instancji w konstruktorze za pomocą zmiennej $ this; We wszystkich innych metodach wydaje się, że działa dobrze, gdy dzwonię$this->event->method() ale w tej metodzie rzuca mi błąd

Używanie $ this, gdy nie jest w kontekście obiektu

Właśnie przeprowadziłem badanie tego problemu, a znalezione przeze mnie odpowiedzi dotyczyły wersji PHP, ale mam wersję 5.4. co może być problemem?

Jest to metoda, którą próbuję wywołać instancją.

// all protected variable $event , $team , $app
function __construct(EventTeamInterface $event,TeamInterface $team) {
    $this->event = $event;
    $this->team = $team;
    $this->app = app();
  }

  /**
  * @param $infos array() | 
  * @return array() | ['status'] | ['msg'] | ['id']
  */
  public static function createEvent($infos = array()){
      $create_event = $this->event->create($infos);
        if ($create_event) {
            $result['status'] = "success";
            $result['id'] = $create_event->id;
        } else {
            $result['status'] = "error";
            $result['msg'] = $create_event->errors();
        }

        return $result;
  }

questionAnswers(1)

yourAnswerToTheQuestion