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

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

- Page: https://pluginprobe.com/plugins/metricool/2.1.1/code/app/Features/Notifications/Notices/ExampleInactiveNotice.php
- Raw: https://pluginprobe.com/plugins/metricool/2.1.1/raw/app/Features/Notifications/Notices/ExampleInactiveNotice.php
- Modified: 2026-08-20T14:08:30+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.1.1/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';
    }
}

```
