public function __construct(array $textExtensions = []) { $this->textExtensions = $textExtensions; $this->initializeQueue(); }