public function on_resource_end(array $data) {
        if ($successor = $this->get_successor($data['type'], $data['reference'])) {
            $successor->on_legacy_resource_end($data);
        }
    }
public function on_resource_end(array $data) {
        if ($successor = $this->get_successor($data['type'], $data['reference'])) {
            $successor->on_legacy_resource_end($data);
        }
    }
public function on_resource_end ( array $ data ) { if ( $ successor = $ this -> get_successor ( $ data [ 'type' ] , $ data [ 'reference' ] ) ) { $ successor -> on_legacy_resource_end ( $ data ) ; } }
Give succesors a chance to finish their job
Give succesors a chance to finish their job