array( 'type' => 'boolean' ), ); } protected function annotations(): array { return array( 'readonly' => false, 'destructive' => false, 'idempotent' => true, ); } /** * @param array $input Input. * @return array */ protected function run( array $input ) { Toolbox_Repository::flush_object_cache(); return array( 'flushed' => true, 'message' => __( 'Object cache flushed.', 'acrossai-abilities-manager' ), ); } }