Skip to content
Snippets Groups Projects

1.x

Merged Bartek Jaskulski requested to merge 1.x into review
2 files
+ 3
30
Compare changes
  • Side-by-side
  • Inline

Files

<?php
declare( strict_types=1 );
namespace WPDesk\Init\Binding\Loader;
use WPDesk\Init\Configuration\ReadableConfig;
use WPDesk\Init\Loader\PhpFileLoader;
use WPDesk\Init\Util\Path;
class ConfigurationBindingLoader extends DirectoryBasedLoader {
public function __construct(
ReadableConfig $config,
string $plugin_path,
PhpFileLoader $loader,
DefinitionFactory $def_factory
) {
parent::__construct(
( new Path( $config->get( 'hook_resources_path' ) ) )->absolute( $plugin_path ),
$loader,
$def_factory
);
}
}
Loading