Skip to content

Commit a563c7b

Browse files
committed
psr-4 autoload
1 parent f0bf13c commit a563c7b

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,10 @@
99
},
1010
"require-dev": {
1111
"datadog/dd-trace": "0.34.*"
12+
},
13+
"autoload": {
14+
"psr-4": {
15+
"Buffer\\Bufflog\\": "./src/BuffLog"
16+
}
1217
}
1318
}

example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once('./src/php-bufflog/BuffLog.php');
2+
require_once('./src/Bufflog/BuffLog.php');
33

44
use Buffer\Bufflog;
55

0 commit comments

Comments
 (0)