1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/lib/Doctrine/Resource.php
2007-09-21 18:01:08 +00:00

11 lines
237 B
PHP

<?php
class Doctrine_Resource
{
public static function request($url, $request)
{
$url .= strstr($url, '?') ? '&':'?';
$url .= http_build_query($request);
return file_get_contents($url);
}
}