src/Cache.php
private function applyCachedData($data)
    {
        foreach ($data as $key => $value) {
            $this->$key = $value;
        }

        $this->cached = true;
    }
private function applyCachedData($data)
    {
        foreach ($data as $key => $value) {
            $this->$key = $value;
        }

        $this->cached = true;
    }
private function applyCachedData ( $ data ) { foreach ( $ data as $ key => $ value ) { $ this -> $ key = $ value ; } $ this -> cached = true ; }
Apply cached data to the main Parser object

@internal

@param  array    $data      An array with a key for every property it needs to apply
Apply cached data to the main Parser object