You are here

class Container in Drupal 7

Hierarchy

  • class \TYPO3\PharStreamWrapper\Phar\Container

Expanded class hierarchy of Container

File

misc/typo3/phar-stream-wrapper/src/Phar/Container.php, line 14

Namespace

TYPO3\PharStreamWrapper\Phar
View source
class Container {

  /**
   * @var Stub
   */
  private $stub;

  /**
   * @var Manifest
   */
  private $manifest;

  /**
   * @param Stub $stub
   * @param Manifest $manifest
   */
  public function __construct(Stub $stub, Manifest $manifest) {
    $this->stub = $stub;
    $this->manifest = $manifest;
  }

  /**
   * @return Stub
   */
  public function getStub() {
    return $this->stub;
  }

  /**
   * @return Manifest
   */
  public function getManifest() {
    return $this->manifest;
  }

  /**
   * @return string
   */
  public function getAlias() {
    return $this->manifest
      ->getAlias() ?: $this->stub
      ->getMappedAlias();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Container::$manifest private property
Container::$stub private property
Container::getAlias public function
Container::getManifest public function
Container::getStub public function
Container::__construct public function