Closed szepeviktor closed 3 years ago
Test the autoloader:
<?php
define( 'ABSPATH', '' );
class WP_Meta_Query {}
require 'autoloader.php';
new BerlinDB\Database\Schema();
new BerlinDB\Database\Queries\Compare();
Couldn't it be autoloaded via composer directly by adding the composer.json
file and the required directives?
Couldn't it be autoloaded via composer directly
Yes it could.
I've notices many projects load BerlinDB with require
.
@szepeviktor I believe this duplicates the work that was already merged into the release/2.0 branch: https://github.com/berlindb/core/pull/57
Thank you. Yes, it does.
@JJJ More Alive! Included autoloader.