Results of 1 - 1 of about 1 for wider (0.001 sec.)
- ReflectionProperty::getSettableType — set フックのパラメータの型を返す | PHP 8.... 9414
- ReflectionProperty::getSettableType (PHP 8 >= 8.4.0) ReflectionProperty::getSettableType — set フックのパラメータの型を返す 説明 public function ReflectionProperty::getSettableType (): ? ReflectionType set フックに指定されたパラメータの型を
... operty::getSettableType() の例 <?php class Example { public string $basic { set => strtolower ( $value ); } public string $wider { set ( string | Stringable $value ) => (string) $value ; } public string $virtual { get => 'Do not change this' ; } publi ... xample ::class); var_dump ( $rClass -> getProperty ( 'basic' )-> getSettableType ()); var_dump ( $rClass -> getProperty ( 'wider' )-> getSettableType ()); var_dump ( $rClass -> getProperty ( 'virtual' )-> getSettableType ()); var_dump ( $rClass -> get ...
-
https://man.mtool.work/php/8.3/reflectionproperty.getsettabletype.html
PREV
1
NEXT