public function toArrayAll()
    {
        $data = $this->toArray();

        foreach(self::$jsonable as $key){

            if(isset($data[$key]) && Utils::isJson($data[$key])){
                $data[$key] = json_decode($this->{$key});
            }
        }

        return $data;
    }
public function toArrayAll()
    {
        $data = $this->toArray();

        foreach(self::$jsonable as $key){

            if(isset($data[$key]) && Utils::isJson($data[$key])){
                $data[$key] = json_decode($this->{$key});
            }
        }

        return $data;
    }
public function toArrayAll ( ) { $ data = $ this -> toArray ( ) ; foreach ( self :: $ jsonable as $ key ) { if ( isset ( $ data [ $ key ] ) && Utils :: isJson ( $ data [ $ key ] ) ) { $ data [ $ key ] = json_decode ( $ this -> { $ key } ) ; } } return $ data ; }
Transform to Array even Json Data encoded

@return array
Transform to Array even Json Data encoded