PHP 클래스 Yosymfony\Spress\Core\DataWriter\FilesystemDataWriter
This data writer uses SNAPSHOT_PATH_PERMALINK for working
with the path of the items. In case of binary item this data writer
uses SNAPSHOT_PATH_SOURCE and SNAPSHOT_PATH_RELATIVE_AFTER_CONVERT.
파일 보기
프로젝트 열기: spress/spress
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
메소드 |
설명 |
|
__construct ( Symfony\Component\Filesystem\Filesystem $filesystem, string $outputDir ) |
Constructor. |
|
setUp ( ) |
|
|
tearDown ( ) |
|
|
write ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) |
|
|
보호된 메소드들
메소드 상세
public __construct ( Symfony\Component\Filesystem\Filesystem $filesystem, string $outputDir ) |
$filesystem |
Symfony\Component\Filesystem\Filesystem |
|
$outputDir |
string |
The output folder. e.g: "build" |
composeOutputPath()
보호된 메소드
protected isWritable ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) |
$item |
Yosymfony\Spress\Core\DataSource\ItemInterface |
|
Removes the whole content of the output dir but VCS files.
public write ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) |
$item |
Yosymfony\Spress\Core\DataSource\ItemInterface |
|
프로퍼티 상세