<?php

/*
 * This file is part of nochso/benchmark.
 *
 * @copyright Copyright (c) 2015 Marcel Voigt <mv@noch.so>
 * @license   https://github.com/nochso/benchmark/blob/master/LICENSE ISC
 * @link      https://github.com/nochso/benchmark
 */

use Symfony\Component\Finder\Finder;

$iterator = Finder::create()
    ->files()
    ->name('*.php')
    ->in('src')
    ->in('vendor/doctrine/collections/lib/Doctrine/Common/Collections');
;
return new Sami\Sami($iterator, array(
    'title' => 'nochso/Benchmark documentation',
    'build_dir' => __DIR__ . '/doc/build',
    'cache_dir' => __DIR__ . '/doc/cache',
    'default_opened_level' => 2,
));

<?php

/*
 * This file is part of nochso/benchmark.
 *
 * @copyright Copyright (c) 2015 Marcel Voigt <mv@noch.so>
 * @license   https://github.com/nochso/benchmark/blob/master/LICENSE ISC
 * @link      https://github.com/nochso/benchmark
 */

return new Sami\Sami('src', array(
    'title' => 'nochso/Benchmark documentation',
    'build_dir' => __DIR__ . '/doc/build',
    'cache_dir' => __DIR__ . '/doc/cache',
    'default_opened_level' => 2,
));

--- 
+++ 
@@ -8,7 +8,15 @@
  * @link      https://github.com/nochso/benchmark
  */
 
-return new Sami\Sami('src', array(
+use Symfony\Component\Finder\Finder;
+
+$iterator = Finder::create()
+    ->files()
+    ->name('*.php')
+    ->in('src')
+    ->in('vendor/doctrine/collections/lib/Doctrine/Common/Collections');
+;
+return new Sami\Sami($iterator, array(
     'title' => 'nochso/Benchmark documentation',
     'build_dir' => __DIR__ . '/doc/build',
     'cache_dir' => __DIR__ . '/doc/cache',
Include doctrine/collections in API docs
