gl-website-deployer/vendor/doctrine/rst-parser/lib/Event/BuildEvent.php
2024-11-19 08:02:04 +01:00

46 lines
866 B
PHP

<?php
declare(strict_types=1);
namespace Doctrine\RST\Event;
use Doctrine\Common\EventArgs;
use Doctrine\RST\Builder;
abstract class BuildEvent extends EventArgs
{
/** @var Builder */
private $builder;
/** @var string */
private $directory;
/** @var string */
private $targetDirectory;
public function __construct(
Builder $builder,
string $directory,
string $targetDirectory
) {
$this->builder = $builder;
$this->directory = $directory;
$this->targetDirectory = $targetDirectory;
}
public function getBuilder(): Builder
{
return $this->builder;
}
public function getDirectory(): string
{
return $this->directory;
}
public function getTargetDirectory(): string
{
return $this->targetDirectory;
}
}