Copied!

The write mutator defines how a property can be written.

CloneableFinalInstantiable
Constants
public Symfony\Component\PropertyInfo\PropertyWriteInfo::TYPE_ADDER_AND_REMOVER = 'adder_and_remover'
public Symfony\Component\PropertyInfo\PropertyWriteInfo::TYPE_CONSTRUCTOR = 'constructor'
public Symfony\Component\PropertyInfo\PropertyWriteInfo::TYPE_METHOD = 'method'
public Symfony\Component\PropertyInfo\PropertyWriteInfo::TYPE_NONE = 'none'
public Symfony\Component\PropertyInfo\PropertyWriteInfo::TYPE_PROPERTY = 'property'
public Symfony\Component\PropertyInfo\PropertyWriteInfo::VISIBILITY_PRIVATE = 'private'
public Symfony\Component\PropertyInfo\PropertyWriteInfo::VISIBILITY_PROTECTED = 'protected'
public Symfony\Component\PropertyInfo\PropertyWriteInfo::VISIBILITY_PUBLIC = 'public'
Methods
public __construct(string $type = 'none'self::TYPE_NONE, ?string $name = NULL, ?string $visibility = NULL, ?bool $static = NULL)
public getAdderInfo() : Symfony\Component\PropertyInfo\PropertyWriteInfo
public getErrors() : array
public getName() : string
public getRemoverInfo() : Symfony\Component\PropertyInfo\PropertyWriteInfo
public getType() : string
public getVisibility() : string
public hasErrors() : bool
public isStatic() : bool
public setAdderInfo(Symfony\Component\PropertyInfo\PropertyWriteInfo $adderInfo) : void
public setErrors(array $errors) : void
public setRemoverInfo(Symfony\Component\PropertyInfo\PropertyWriteInfo $removerInfo) : void
Properties
private ?Symfony\Component\PropertyInfo\PropertyWriteInfo $adderInfo = NULL
private array $errors = []
private readonly ?string $name
private ?Symfony\Component\PropertyInfo\PropertyWriteInfo $removerInfo = NULL
private readonly ?bool $static
private readonly string $type
private readonly ?string $visibility
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration