src/Deploy/Strategy/Symlink.php
<?php
/**
* Symlink.php
*
* PHP Version 5
*
* @category Bragento_MagentoComposerInstaller
* @package Bragento\Magento\Composer\Installer\Deploy\Strategy
* @author David Verholen <david.verholen@brandung.de>
* @copyright 2014 Brandung GmbH & Co. KG
* @license http://opensource.org/licenses/OSL-3.0 OSL-3.0
* @link http://www.brandung.de
*/
namespace Bragento\Magento\Composer\Installer\Deploy\Strategy;
use Bragento\Magento\Composer\Installer\Project\Config;
/**
* Class Symlink
*
* @category Bragento_MagentoComposerInstaller
* @package Bragento\Magento\Composer\Installer\Deploy\Strategy
* @author David Verholen <david.verholen@brandung.de>
* @copyright 2014 Brandung GmbH & Co. KG
* @license http://opensource.org/licenses/OSL-3.0 OSL-3.0
* @link http://www.brandung.de
*/
class Symlink extends AbstractStrategy
{
/**
* createDelegate
*
* @param string $src
* @param string $dest
*
* @return void
*/
protected function createDelegate($src, $dest)
{
$this->getFs()->symlink($src, $dest);
}
}