Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 158 Bytes

A simple PHP 5.3 Singleton Factory

Exemple

<?php
$dom = Singleton::DOMDocument()->loadHTMLFile($url);