for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace HDNET\Calendarize\Event;
use HDNET\Calendarize\Service\IndexerService;
final class IndexAllEvent
{
const POSITION_PRE = 'pre';
const POSITION_POST = 'post';
private $indexerService;
private $position;
public function __construct(IndexerService $indexerService, string $position)
$this->indexerService = $indexerService;
$this->position = $position;
}
public function getIndexerService(): IndexerService
return $this->indexerService;
public function getPosition(): string
return $this->position;