• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / Yoast-SEO-for-TYPO3 / 13327579701

14 Feb 2025 10:43AM UTC coverage: 1.276%. First build
13327579701

push

github

web-flow
Merge pull request #597 from Yoast/feature/v11

[FEATURE] Release 11.0.0

21 of 894 new or added lines in 76 files covered. (2.35%)

35 of 2744 relevant lines covered (1.28%)

0.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Classes/Controller/AjaxController.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace YoastSeoForTypo3\YoastSeo\Controller;
6

7
use Psr\Http\Message\ResponseInterface;
8
use Psr\Http\Message\ServerRequestInterface;
9
use YoastSeoForTypo3\YoastSeo\Service\Ajax\CrawlerHandler;
10
use YoastSeoForTypo3\YoastSeo\Service\Ajax\InternalLinkingSuggestionsHandler;
11
use YoastSeoForTypo3\YoastSeo\Service\Ajax\PreviewHandler;
12
use YoastSeoForTypo3\YoastSeo\Service\Ajax\ProminentWordsHandler;
13
use YoastSeoForTypo3\YoastSeo\Service\Ajax\SaveScoresHandler;
14

15
class AjaxController
16
{
17
    public function __construct(
18
        protected PreviewHandler $previewHandler,
19
        protected SaveScoresHandler $saveScoresHandler,
20
        protected ProminentWordsHandler $prominentWordsHandler,
21
        protected InternalLinkingSuggestionsHandler $internalLinkingSuggestionsHandler,
22
        protected CrawlerHandler $crawlerHandler,
NEW
23
    ) {}
×
24

25
    public function previewAction(
26
        ServerRequestInterface $request
27
    ): ResponseInterface {
NEW
28
        return $this->previewHandler->handle($request);
×
29
    }
30

31
    public function saveScoresAction(
32
        ServerRequestInterface $request
33
    ): ResponseInterface {
NEW
34
        return $this->saveScoresHandler->handle($request);
×
35
    }
36

37
    public function prominentWordsAction(
38
        ServerRequestInterface $request
39
    ): ResponseInterface {
NEW
40
        return $this->prominentWordsHandler->handle($request);
×
41
    }
42

43
    public function internalLinkingSuggestionsAction(
44
        ServerRequestInterface $request
45
    ): ResponseInterface {
NEW
46
        return $this->internalLinkingSuggestionsHandler->handle($request);
×
47
    }
48

49
    public function crawlerDeterminePages(
50
        ServerRequestInterface $request
51
    ): ResponseInterface {
NEW
52
        return $this->crawlerHandler->handle($request->withAttribute('handlerRequest', 'determine'));
×
53
    }
54

55
    public function crawlerIndexPages(
56
        ServerRequestInterface $request
57
    ): ResponseInterface {
NEW
58
        return $this->crawlerHandler->handle($request->withAttribute('handlerRequest', 'index'));
×
59
    }
60
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc