public function castToArray()
    {
        $this->ifPart = function ($v) { return !\is_array($v); };
        $this->thenPart = function ($v) { return [$v]; };

        return $this;
    }
public function castToArray()
    {
        $this->ifPart = function ($v) { return !\is_array($v); };
        $this->thenPart = function ($v) { return [$v]; };

        return $this;
    }
public function castToArray ( ) { $ this -> ifPart = function ( $ v ) { return ! \ is_array ( $ v ) ; } ; $ this -> thenPart = function ( $ v ) { return [ $ v ] ; } ; return $ this ; }
Transforms variables of any type into an array.

@return $this
Transforms variables of any type into an array .