PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / src / actions / indexing / indexing-complete-action.php

indexing-complete-action.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI trunk, at src/actions/indexing/indexing-complete-action.php

37 lines 663 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Yoast\WP\SEO\Actions\Indexing;
4
5 use Yoast\WP\SEO\Helpers\Indexing_Helper;
6
7 /**
8 * Indexing action to call when the indexing is completed.
9 */
10 class Indexing_Complete_Action {
11
12 /**
13 * The indexing helper.
14 *
15 * @var Indexing_Helper
16 */
17 protected $indexing_helper;
18
19 /**
20 * Indexing_Complete_Action constructor.
21 *
22 * @param Indexing_Helper $indexing_helper The indexing helper.
23 */
24 public function __construct( Indexing_Helper $indexing_helper ) {
25 $this->indexing_helper = $indexing_helper;
26 }
27
28 /**
29 * Wraps up the indexing process.
30 *
31 * @return void
32 */
33 public function complete() {
34 $this->indexing_helper->complete();
35 }
36 }
37