File: autoloader_001.phpt

package info (click to toggle)
php-doc 20241205~git.dfcbb86%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 70,956 kB
  • sloc: xml: 968,269; php: 23,883; javascript: 671; sh: 177; makefile: 37
file content (18 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Autoloader 001 - Autoload format from external directory
--FILE--
<?php
namespace phpdotnet\phd;

require_once __DIR__ . "/../setup.php";

Autoloader::setPackageDirs([
    realpath(__DIR__ . DIRECTORY_SEPARATOR . "external_directory_test")
]);

$format = new TestFormat;

echo "Done"
?>
--EXPECT--
Done