Esempio n. 1
0
 /**
  * Constructor
  *
  * @param LoggerInterface $logger
  * @param bool            $enabled
  * @param string          $type
  * @param SymLinker       $symlinker
  */
 public function __construct(LoggerInterface $logger, $enabled, $type, SymLinker $symlinker)
 {
     $this->logger = $logger;
     $this->enabled = (bool) $enabled;
     $this->type = strtolower($type);
     $this->symlinker = $symlinker;
     $this->mapping = array('mount-point' => $symlinker->getDefaultAlias(), 'directory' => $symlinker->getSymlinkDir());
 }