class Container

Same name in other branches
  1. 9 core/lib/Drupal/Core/Render/Element/Container.php \Drupal\Core\Render\Element\Container
  2. 9 core/lib/Drupal/Core/DependencyInjection/Container.php \Drupal\Core\DependencyInjection\Container
  3. 9 core/lib/Drupal/Component/DependencyInjection/Container.php \Drupal\Component\DependencyInjection\Container
  4. 8.9.x core/lib/Drupal/Core/Render/Element/Container.php \Drupal\Core\Render\Element\Container
  5. 8.9.x core/lib/Drupal/Core/DependencyInjection/Container.php \Drupal\Core\DependencyInjection\Container
  6. 8.9.x core/lib/Drupal/Component/DependencyInjection/Container.php \Drupal\Component\DependencyInjection\Container
  7. 10 core/lib/Drupal/Core/Render/Element/Container.php \Drupal\Core\Render\Element\Container
  8. 10 core/lib/Drupal/Core/DependencyInjection/Container.php \Drupal\Core\DependencyInjection\Container
  9. 10 core/lib/Drupal/Component/DependencyInjection/Container.php \Drupal\Component\DependencyInjection\Container
  10. 11.x core/lib/Drupal/Core/Render/Element/Container.php \Drupal\Core\Render\Element\Container
  11. 11.x core/lib/Drupal/Core/DependencyInjection/Container.php \Drupal\Core\DependencyInjection\Container
  12. 11.x core/lib/Drupal/Component/DependencyInjection/Container.php \Drupal\Component\DependencyInjection\Container

Hierarchy

  • class \TYPO3\PharStreamWrapper\Phar\Container

Expanded class hierarchy of Container

8 string references to 'Container'
ForumTestCase::createForum in modules/forum/forum.test
Creates a forum container or a forum.
ForumTestCase::doAdminTests in modules/forum/forum.test
Runs admin tests on the admin user.
forum_form_container in modules/forum/forum.admin.inc
Form constructor for adding and editing forum containers.
forum_form_main in modules/forum/forum.admin.inc
Page callback: Returns a form for creating a new forum or container.
forum_menu in modules/forum/forum.module
Implements hook_menu().

... See full list

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

Title Sort descending Modifiers Object type Summary
Container::$manifest private property
Container::$stub private property
Container::getAlias public function
Container::getManifest public function
Container::getStub public function
Container::__construct public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.