File ManagerCurrent Directory: wp-content/plugins/wp-migrate-db/vendor/php-di/php-di/src/DI/Definition/ObjectDefinitionLinux appserver-0d5e4f1e-php-cc8da225320a42ba9b7d66cba40b1f03 6.6.123+ #1 SMP PREEMPT_DYNAMIC Wed Mar 11 09:04:28 UTC 2026 x86_64Edit File: PropertyInjection.php <?php namespace DeliciousBrains\WPMDB\Container\DI\Definition\ObjectDefinition; /** * Describe an injection in a class property. * * @author Matthieu Napoli <matthieu@mnapoli.fr> */ class PropertyInjection { /** * Property name. * @var string */ private $propertyName; /** * Value that should be injected in the property. * @var mixed */ private $value; /** * Use for injecting in properties of parent classes: the class name * must be the name of the parent class because private properties * can be attached to the parent classes, not the one we are resolving. * @var string|null */ private $className; /** * @param string $propertyName Property name * @param mixed $value Value that should be injected in the property * @param string|null $className */ public function __construct($propertyName, $value, $className = null) { $this->propertyName = (string) $propertyName; $this->value = $value; $this->className = $className; } /** * @return string Property name */ public function getPropertyName() { return $this->propertyName; } /** * @return mixed Value that should be injected in the property */ public function getValue() { return $this->value; } /** * @return string|null */ public function getClassName() { return $this->className; } } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)DirMethodInjection.phpFile1.72 KB Rename | Delete | EditPropertyInjection.phpFile1.48 KB Rename | Delete | Edit