Welcome Guest, Not a member yet? Register   Sign In
Unable to use typed variables in a cell
#5

(This post was last modified: 05-30-2024, 05:24 AM by kenjis.)

Try:
PHP Code:
class JustATestCell extends Cell
{
    public $typedVariable;

or
PHP Code:
class JustATestCell extends Cell
{
    public int $typedVariable 0;


This is due to the behavior of get_object_vars().
See https://www.php.net/manual/ja/function.g...php#127940
Reply


Messages In This Thread
RE: Unable to use typed variables in a cell - by kenjis - 05-30-2024, 05:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB