PHP Class Contao\CoreBundle\Command\SymlinksCommand

Inheritance: extends AbstractLockedCommand
显示文件 Open project: contao/core-bundle Class Usage Examples

Protected Methods

Method Description
configure ( )
executeLocked ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
createSymlinksFromFinder ( Finder $finder, string $prepend ) Generates symlinks from a Finder object.
filterNestedPaths ( Finder $finder, string $prepend ) : Symfony\Component\Finder\SplFileInfo[] Filters nested paths so only the top folder is symlinked.
findIn ( string $path ) : Finder Returns a finder instance to find files in the given path.
generateSymlinks ( ) Generates the symlinks in the web directory.
symlink ( string $target, string $link ) Generates a symlink.
symlinkFiles ( string $uploadPath ) Creates the file symlinks.
symlinkModules ( ) Creates symlinks for the public module subfolders.
symlinkThemes ( ) Creates the theme symlinks.

Method Details

configure() protected method

protected configure ( )

executeLocked() protected method

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