public function __construct($value) { $this->listeners = new StackCallbacks(); $this->value = $value; }