Returns a new instance with the given type.
public withType ( Symfony\Component\PropertyInfo\Type $type ) : self | ||
$type | Symfony\Component\PropertyInfo\Type | |
return | self |
public withType ( Symfony\Component\PropertyInfo\Type $type ) : self | ||
$type | Symfony\Component\PropertyInfo\Type | |
return | self |