FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\Util\PurlOperations Class Reference
Collaboration diagram for Fossology\Lib\Util\PurlOperations:
Collaboration graph

Static Public Member Functions

static fromString ($input)
 

Detailed Description

Definition at line 11 of file PurlOperations.php.

Member Function Documentation

◆ fromString()

static Fossology\Lib\Util\PurlOperations::fromString (   $input)
static

Implemented following specs at https://github.com/package-url/purl-spec/blob/a748c36ad415c8aeffe2b8a4a5d8a50d16d6d85f/PURL-SPECIFICATION.rst#how-to-parse-a-purl-string-in-its-components

Todo:
Replace with https://packagist.org/packages/package-url/packageurl-php
Parameters
string$inputpURL as a string
Returns
array Each part of pURL as key and corresponding values

Definition at line 19 of file PurlOperations.php.


The documentation for this class was generated from the following file: