mirror of https://github.com/IoTcat/qcloudsms.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
362 B
17 lines
362 B
<?php |
|
|
|
use Sami\Sami; |
|
use Sami\RemoteRepository\GitHubRemoteRepository; |
|
use Symfony\Component\Finder\Finder; |
|
|
|
$iterator = Finder::create() |
|
->files() |
|
->name("*.php") |
|
->exclude("Resources") |
|
->exclude("Tests") |
|
->in(__DIR__."/src/"); |
|
|
|
return new Sami($iterator, array( |
|
"build_dir" => __DIR__."/docs", |
|
"cache_dir" => __DIR__."/cache", |
|
));
|
|
|