PHP 클래스 Carew\Processor

파일 보기 프로젝트 열기: carew/carew 1 사용 예제들

공개 메소드들

메소드 설명
__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 )

비공개 메소드들

메소드 설명
buildCollectionsWithDocumentMethod ( $documents, $method )
buildCollectionsWithType ( $documents )
sortByDate ( $documents )

메소드 상세

__construct() 공개 메소드

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 processDocument ( Document $document )
$document Document

processDocumentDecoration() 공개 메소드

public processDocumentDecoration ( Document $document )
$document Document

processDocuments() 공개 메소드

public processDocuments ( $documents, $globals )

processFile() 공개 메소드

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

processGlobals() 공개 메소드

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

terminate() 공개 메소드

public terminate ( $webDir )

write() 공개 메소드

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