hold_minutes; if ( null === $minutes ) { $minutes = (int) $this->settings->get( 'booking.hold_minutes' ); } if ( $minutes <= 0 ) { $minutes = 10; } $hold_command = new CreateBookingCommand( $command->service_id, $command->duration_id, $command->agent_id, $command->location_id, $command->start_utc, $command->end_utc, $command->buffer_start_utc, $command->buffer_end_utc, $command->timezone, $command->start_local, $command->attendees, $command->price, $command->customer_first_name, $command->customer_last_name, $command->customer_email, $command->customer_phone, $command->notes, $minutes, false, ); return $this->create->handle( $hold_command ); } }