PHP 클래스 Yosymfony\Spress\Command\SiteBuildCommand

저자: Victor Puertas ([email protected])
상속: extends Symfony\Component\Console\Command\Command
파일 보기 프로젝트 열기: spress/spress

보호된 프로퍼티들

프로퍼티 타입 설명
$configResolver

보호된 메소드들

메소드 설명
buildResourceWatcher ( string $sourceDir, string $destinationDir ) : Yosymfony\ResourceWatcher\ResourceWatcher Builds a ResourceWatcher instance.
buildSpress ( Yosymfony\Spress\Core\IO\IOInterface $io, Symfony\Component\Console\Input\InputInterface $input ) : Spress Buils a Spress instance.
configure ( )
enableParsedown ( Spress $spress ) Enables Parsedown converter.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getConfigResolver ( ) : AttributesResolver Gets the attributes or option resolver for configuration values.
reParse ( Yosymfony\Spress\Core\IO\IOInterface $io, Symfony\Component\Console\Input\InputInterface $input, Yosymfony\ResourceWatcher\ResourceWatcher $rw ) Reparse a site.
rebuildingSiteMessage ( ConsoleIO $io, array $newResources, array $updatedResources, array $deletedResources ) Write the result of rebuilding a site.
resultMessage ( ConsoleIO $io, array $items ) Writes the result of a parsing a site.
startingMessage ( ConsoleIO $io, string $env, boolean $drafts, boolean $safe ) Writes the staring messages.

메소드 상세

buildResourceWatcher() 보호된 메소드

Builds a ResourceWatcher instance.
protected buildResourceWatcher ( string $sourceDir, string $destinationDir ) : Yosymfony\ResourceWatcher\ResourceWatcher
$sourceDir string Source path
$destinationDir string Destination path
리턴 Yosymfony\ResourceWatcher\ResourceWatcher

buildSpress() 보호된 메소드

Buils a Spress instance.
protected buildSpress ( Yosymfony\Spress\Core\IO\IOInterface $io, Symfony\Component\Console\Input\InputInterface $input ) : Spress
$io Yosymfony\Spress\Core\IO\IOInterface
$input Symfony\Component\Console\Input\InputInterface
리턴 Yosymfony\Spress\Core\Spress

configure() 보호된 메소드

protected configure ( )

enableParsedown() 보호된 메소드

Enables Parsedown converter.
protected enableParsedown ( Spress $spress )
$spress Yosymfony\Spress\Core\Spress

execute() 보호된 메소드

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getConfigResolver() 보호된 메소드

Gets the attributes or option resolver for configuration values.
protected getConfigResolver ( ) : AttributesResolver
리턴 Yosymfony\Spress\Core\Support\AttributesResolver

reParse() 보호된 메소드

Reparse a site.
protected reParse ( Yosymfony\Spress\Core\IO\IOInterface $io, Symfony\Component\Console\Input\InputInterface $input, Yosymfony\ResourceWatcher\ResourceWatcher $rw )
$io Yosymfony\Spress\Core\IO\IOInterface
$input Symfony\Component\Console\Input\InputInterface
$rw Yosymfony\ResourceWatcher\ResourceWatcher

rebuildingSiteMessage() 보호된 메소드

Write the result of rebuilding a site.
protected rebuildingSiteMessage ( ConsoleIO $io, array $newResources, array $updatedResources, array $deletedResources )
$io Yosymfony\Spress\IO\ConsoleIO
$newResources array
$updatedResources array
$deletedResources array

resultMessage() 보호된 메소드

Writes the result of a parsing a site.
protected resultMessage ( ConsoleIO $io, array $items )
$io Yosymfony\Spress\IO\ConsoleIO
$items array

startingMessage() 보호된 메소드

Writes the staring messages.
protected startingMessage ( ConsoleIO $io, string $env, boolean $drafts, boolean $safe )
$io Yosymfony\Spress\IO\ConsoleIO
$env string [description]
$drafts boolean [description]
$safe boolean [description]

프로퍼티 상세

$configResolver 보호되어 있는 프로퍼티

protected $configResolver