Skip to content

Commit 8f3d483

Browse files
committed
fix
1 parent 49e59cb commit 8f3d483

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

sami_config.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
use Sami\Sami;
4-
use Sami\RemoteRepository\GitHubRemoteRepository;
4+
use Sami\Parser\Filter\TrueFilter;
55
use Sami\Version\GitVersionCollection;
66
use Symfony\Component\Finder\Finder;
77

@@ -19,7 +19,7 @@
1919
->add('master','master')
2020
;
2121

22-
return new Sami($iterator,array(
22+
$sami= new Sami($iterator,array(
2323
'theme' => 'default',
2424
'title' => 'Laravel Composer Security API',
2525
'versions' => $versions,
@@ -28,3 +28,12 @@
2828
'default_opened_level' => 1,
2929
));
3030

31+
/**
32+
* Include this section if you want sami to document
33+
* private and protected functions/properties
34+
*/
35+
$sami['filter'] = function () {
36+
return new TrueFilter();
37+
};
38+
39+
return $sami;

0 commit comments

Comments
 (0)