[SOLVED] Overwrite command controller

Hallo,

is it possible to overwrite a command controller? I want to overwrite the «buildCommand» function of the «NodeIndexCommandController» (Flowpack/ElasticSearch/ContentRepositoryAdaptor).

I’m using Neos 4.3 with PHP 7.2.

Hi, I don‘t think so. Why not inherit from it, make your modification and call it differently?

Hmm yes, that’s what I’m doing now.
Nevertheless: thanks for your answer. :slight_smile: