Eloquent\Composer\NpmBridge\NpmClient::install PHP Метод

install() публичный Метод

Install NPM dependencies for the project at the supplied path.
public install ( string | null $path = null, boolean | null $isDevMode = null )
$path string | null The path to the NPM project, or null to use the current working directory.
$isDevMode boolean | null True if dev dependencies should be included.
    public function install($path = null, $isDevMode = null)
    {
        if (null === $isDevMode) {
            $isDevMode = true;
        }
        if ($isDevMode) {
            $arguments = array('install');
        } else {
            $arguments = array('install', '--production');
        }
        $this->executeNpm($arguments, $path);
    }