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

Breadcrumb

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

function VirtualStub::__construct

Overrides ConstStub::__construct

File

vendor/symfony/var-dumper/Caster/VirtualStub.php, line 16

Class

VirtualStub

Namespace

Symfony\Component\VarDumper\Caster

Code

public function __construct(\ReflectionProperty $property) {
    parent::__construct('~' . ($property->hasType() ? ' ' . $property->getType() : ''), 'Virtual property');
    $this->attr['virtual'] = true;
}

API Navigation

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