Update website
This commit is contained in:
parent
4413528994
commit
1d90fbf296
6865 changed files with 1091082 additions and 0 deletions
43
vendor/doctrine/rst-parser/lib/Event/OnLinkParsedEvent.php
vendored
Normal file
43
vendor/doctrine/rst-parser/lib/Event/OnLinkParsedEvent.php
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Doctrine\RST\Event;
|
||||
|
||||
use Doctrine\Common\EventArgs;
|
||||
|
||||
final class OnLinkParsedEvent extends EventArgs
|
||||
{
|
||||
public const ON_LINK_PARSED = 'onLinkParsed';
|
||||
|
||||
/** @var string */
|
||||
private $url;
|
||||
|
||||
/** @var string */
|
||||
private $linkType;
|
||||
|
||||
/** @var string */
|
||||
private $currentFileName;
|
||||
|
||||
public function __construct(string $url, string $linkType, string $currentFileName)
|
||||
{
|
||||
$this->url = $url;
|
||||
$this->linkType = $linkType;
|
||||
$this->currentFileName = $currentFileName;
|
||||
}
|
||||
|
||||
public function getUrl(): string
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
|
||||
public function getLinkType(): string
|
||||
{
|
||||
return $this->linkType;
|
||||
}
|
||||
|
||||
public function getCurrentFileName(): string
|
||||
{
|
||||
return $this->currentFileName;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue