# metricool/2.0.2/app/Features/Notifications/Notices/ExampleInactiveNotice.php

Metricool – Social media and site statistics, version 2.0.2. 44 lines.

- Page: https://pluginprobe.com/plugins/metricool/2.0.2/code/app/Features/Notifications/Notices/ExampleInactiveNotice.php
- Raw: https://pluginprobe.com/plugins/metricool/2.0.2/raw/app/Features/Notifications/Notices/ExampleInactiveNotice.php
- Modified: 2026-06-11T08:45:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/metricool/2.0.2/code/app/Features/Notifications/Notices/ExampleInactiveNotice.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace Metricool\Features\Notifications\Notices;

class ExampleInactiveNotice extends AbstractNotice
{
    public const IDENTIFIER = 'example_inactive_notice';
    protected bool $active = false;

    /**
     * @inheritDoc
     */
    public function getTitle(): string
    {
        return __('This is an inactive notice.', 'metricool');
    }

    /**
     * @inheritDoc
     */
    public function getText(): string
    {
        return __('This is an inactive notice.', 'metricool');
    }

    /**
     * @inheritDoc
     */
    public function getType(): string
    {
        return self::TYPE_INFO;
    }

    /**
     * @inheritDoc
     */
    public function getRoute(): string
    {
        return 'general';
    }
}

```
