Skip to content

Class Printer

Class \Klitsche\Dog\Printer\Markdown\Printer

Methods

__construct()

public __construct ( 
    \Klitsche\Dog\ConfigInterface $config, 
    \Psr\EventDispatcher\EventDispatcherInterface $dispatcher, 
    \Twig\Environment $twig
 ): 
Parameters
config \Klitsche\Dog\ConfigInterface
dispatcher \Psr\EventDispatcher\EventDispatcherInterface
twig \Twig\Environment

create()

public static create ( 
    \Klitsche\Dog\ConfigInterface $config, 
    \Psr\EventDispatcher\EventDispatcherInterface $dispatcher
 ): self
Parameters
config \Klitsche\Dog\ConfigInterface
dispatcher \Psr\EventDispatcher\EventDispatcherInterface
Returns
self

filterLinkFqsen()

public filterLinkFqsen ( 
    string $value
 ): mixed
Parameters
value string
Returns
mixed
public functionLink ( 
    ?\Klitsche\Dog\Elements\ElementInterface $element
 ): string
Parameters
element ?\Klitsche\Dog\Elements\ElementInterface
Returns
string

getEventDispatcher()

public getEventDispatcher (  ): \Psr\EventDispatcher\EventDispatcherInterface
Returns
\Psr\EventDispatcher\EventDispatcherInterface

print()

public print ( 
    \Klitsche\Dog\ProjectInterface $project
 ): void
Parameters
project \Klitsche\Dog\ProjectInterface

setEventDispatcher()

public setEventDispatcher ( 
    \Psr\EventDispatcher\EventDispatcherInterface $dispatcher
 ): void
Parameters
dispatcher \Psr\EventDispatcher\EventDispatcherInterface

Test Coverage ❤️

  • ❤️ Lines: 0% (0 / 218)
  • ❤️ Methods: 0% (0 / 19)