public function __construct($identifier, $callback) { $this->identifier = $identifier; $this->callback = $callback; }