src/Ease/WebPage.php
public function finalizeRegistred()
    {
        $shared = \Ease\Shared::instanced();
        do {
            foreach ($shared->allItems as $PartID => $part) {
                if (is_object($part) && method_exists($part, 'finalize')) {
                    $part->finalize();
                }
                unset($shared->allItems[$PartID]);
            }
        } while (count($shared->allItems));
    }
public function finalizeRegistred()
    {
        $shared = \Ease\Shared::instanced();
        do {
            foreach ($shared->allItems as $PartID => $part) {
                if (is_object($part) && method_exists($part, 'finalize')) {
                    $part->finalize();
                }
                unset($shared->allItems[$PartID]);
            }
        } while (count($shared->allItems));
    }
Provede finalizaci všech registrovaných objektů.