PHP项目开发框架,基于composer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
229 B

<?php
namespace Wiggins\MyProject\Example;
require '../vendor/autoload.php';
use Wiggins\MyProject\MyClass; //命名空间对应文件目录src/MyClass.php
$obj = new MyClass;
echo $obj->func().PHP_EOL;
?>