set_model( $model ); $this->mode = 'transcription'; } public function set_url( $url ) { $this->url = $url; } // Based on the params of the query, update the attributes public function inject_params( array $params ): void { parent::inject_params( $params ); $params = $this->convert_keys( $params ); if ( !empty( $params['url'] ) ) { $this->set_url( $params['url'] ); } } }