File: CountingListener.php

package info (click to toggle)
php-zend-eventmanager 3.14.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 904 kB
  • sloc: php: 3,542; xml: 696; makefile: 17
file content (17 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

declare(strict_types=1);

namespace LaminasTest\EventManager\TestAsset;

class CountingListener
{
    public int $count = 0;

    public int $index = 0;

    public function __invoke(): void
    {
        $this->count += 1;
    }
}