/**
     * {@inheritdoc}
     */
    protected function buildFindCommand(Command $command, $dir)
    {
        parent::buildFindCommand($command, $dir)->addAtIndex('-E', 1);

        return $command;
    }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public function isSupported()
 {
     return in_array($this->shell->getType(), array(Shell::TYPE_BSD, Shell::TYPE_DARWIN)) && parent::isSupported();
 }
 /**
  * {@inheritdoc}
  */
 protected function buildFindCommand(Command $command, $dir)
 {
     return parent::buildFindCommand($command, $dir)->add('-regextype posix-extended');
 }
Пример #4
0
 /**
  * {@inheritdoc}
  */
 protected function canBeUsed()
 {
     return in_array($this->shell->getType(), array(Shell::TYPE_BSD, Shell::TYPE_DARWIN)) && parent::canBeUsed();
 }