Skip to content

Latest commit

 

History

History
117 lines (77 loc) · 1.79 KB

Bower.md

File metadata and controls

117 lines (77 loc) · 1.79 KB

Bower Tasks

Install

Bower Install

<?php
// simple execution
$this->taskBowerInstall()->run();

// prefer dist with custom path
$this->taskBowerInstall('path/to/my/bower')
     ->noDev()
     ->run();
?>
  • allowRoot()

  • return $this

  • forceLatest()

  • return $this

  • noDev()

  • return $this

  • offline()

  • return $this

  • setOutput($output)

  • param \Symfony\Component\Console\Output\OutputInterface $output

  • setProcessInput($input)

  • param resource|string $input

  • dir($dir)

  • param string $dir

  • arg($arg)

  • param string $arg

  • args($args)

  • param string|string[] $args

  • rawArg($arg)

  • param string $arg

  • option($option, $value = null, $separator = null)

  • param string $option

  • options(array $options, $separator = null)

  • param array $options

  • optionList($option, $value = null, $separator = null)

  • param string $option

Update

Bower Update

<?php
// simple execution
$this->taskBowerUpdate->run();

// prefer dist with custom path
$this->taskBowerUpdate('path/to/my/bower')
     ->noDev()
     ->run();
?>
  • allowRoot()

  • return $this

  • forceLatest()

  • return $this

  • noDev()

  • return $this

  • offline()

  • return $this

  • setOutput($output)

  • param \Symfony\Component\Console\Output\OutputInterface $output

  • setProcessInput($input)

  • param resource|string $input

  • dir($dir)

  • param string $dir

  • arg($arg)

  • param string $arg

  • args($args)

  • param string|string[] $args

  • rawArg($arg)

  • param string $arg

  • option($option, $value = null, $separator = null)

  • param string $option

  • options(array $options, $separator = null)

  • param array $options

  • optionList($option, $value = null, $separator = null)

  • param string $option