Code

< 40 %
40-60 %
> 60 %
1
<?php
2
use Sami\Sami;
3
use Symfony\Component\Finder\Finder;
4
5
$iterator = Finder::create()
6
    ->files()
7
    ->in('src');
8
9
return new Sami(
10
    $iterator, array(
11
        'title' => 'Elastification PHP Client API',
12
        'build_dir' => __DIR__ . '/docs',
13
        'cache_dir' => __DIR__ . '/cache',
14
        'default_opened_level' => 2,
15
    )
16
);
17