3 namespace Drupal\libraries\ExternalLibrary\PhpFile;
6 * Provides a PHP file loader using PHP's require_once.
8 * @todo Provide a separate PhpIncludeOnceLoader.
10 class PhpRequireLoader implements PhpFileLoaderInterface {
15 public function load($file) {
16 // @todo Because libraries cannot be loaded twice it should be possible to
17 // use 'require' instead of 'require_once'.
18 /** @noinspection PhpIncludeInspection */