Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Perforce.php

function Perforce::setStream

File

vendor/composer/composer/src/Composer/Util/Perforce.php, line 184

Class

Perforce
@author Matt Whittom <Matt.Whittom@veteransunited.com>

Namespace

Composer\Util

Code

public function setStream(string $stream) : void {
    $this->p4Stream = $stream;
    $index = strrpos($stream, '/');
    
    //Stream format is //depot/stream, while non-streaming depot is //depot
    if ($index > 2) {
        $this->p4DepotType = 'stream';
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal