示例#1
0
<?php

require_once 'Processor/SiteMap.php';
\Processor\SiteMap::route() || \CPath\Route\CPathMap::route();
示例#2
0
<?php

use CPath\Request\Request;
use CPath\Route\CPathMap;
require_once 'Processor/SiteMap.php';
$Request = Request::create('CLI /cpath/test', array(), new \CPath\Render\Text\TextMimeType());
//$Request->setMimeType(new TextMimeType());
CPathMap::route($Request);