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

Breadcrumb

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

class License

Hierarchy

  • class \PharIo\Manifest\License

Expanded class hierarchy of License

7 string references to 'License'
ArrayDumper::dump in vendor/composer/composer/src/Composer/Package/Dumper/ArrayDumper.php
Compiler::addFile in vendor/composer/composer/src/Composer/Compiler.php
CopyrightElement::getLicenseElement in vendor/phar-io/manifest/src/xml/CopyrightElement.php
InitCommand::execute in vendor/composer/composer/src/Composer/Command/InitCommand.php
InitCommand::interact in vendor/composer/composer/src/Composer/Command/InitCommand.php
@inheritDoc

... See full list

File

vendor/phar-io/manifest/src/values/License.php, line 13

Namespace

PharIo\Manifest
View source
class License {
    
    /** @var string */
    private $name;
    
    /** @var Url */
    private $url;
    public function __construct(string $name, Url $url) {
        $this->name = $name;
        $this->url = $url;
    }
    public function getName() : string {
        return $this->name;
    }
    public function getUrl() : Url {
        return $this->url;
    }

}

Members

Title Sort descending Modifiers Object type Summary
License::$name private property @var string
License::$url private property @var Url
License::getName public function
License::getUrl public function
License::__construct public function

API Navigation

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