function nonStaticMethodInTrait() { $this->{$propertyInTrait}; $this->methodCallInTrait(); function () { return $this->propertyInTrait; }; }