PHP Class Carew\Processor

Afficher le fichier Open project: carew/carew Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = null, Symfony\Component\Filesystem\Filesystem $filesystem = null )
processDocument ( Document $document )
processDocumentDecoration ( Document $document )
processDocuments ( $documents, $globals )
processFile ( Symfony\Component\Finder\SplFileInfo $file, $folder = '', $type = Document::TYPE_UNKNOWN )
processGlobals ( $documents, Globals $globals = null )
terminate ( $webDir )
write ( Document $document, $webDir )

Private Methods

Méthode Description
buildCollectionsWithDocumentMethod ( $documents, $method )
buildCollectionsWithType ( $documents )
sortByDate ( $documents )

Method Details

__construct() public méthode

public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = null, Symfony\Component\Filesystem\Filesystem $filesystem = null )
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$filesystem Symfony\Component\Filesystem\Filesystem

processDocument() public méthode

public processDocument ( Document $document )
$document Document

processDocumentDecoration() public méthode

public processDocumentDecoration ( Document $document )
$document Document

processDocuments() public méthode

public processDocuments ( $documents, $globals )

processFile() public méthode

public processFile ( Symfony\Component\Finder\SplFileInfo $file, $folder = '', $type = Document::TYPE_UNKNOWN )
$file Symfony\Component\Finder\SplFileInfo

processGlobals() public méthode

public processGlobals ( $documents, Globals $globals = null )
$globals Carew\Twig\Globals

terminate() public méthode

public terminate ( $webDir )

write() public méthode

public write ( Document $document, $webDir )
$document Document