Eloquent\Composer\NpmBridge\NpmClient::npmPath PHP Method

npmPath() private method

private npmPath ( )
    private function npmPath()
    {
        if (null === $this->npmPath) {
            $this->npmPath = $this->executableFinder->find('npm');
            if (null === $this->npmPath) {
                throw new NpmNotFoundException();
            }
        }
        return $this->npmPath;
    }