vendor/codeages/plugin-bundle/System/PluginBase.php
(开头部分) 626B这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
namespace Codeages\PluginBundle\System;
use Symfony\Component\HttpKernel\Bundle\Bundle;
abstract class PluginBase extends Bundle implements PluginInterface
{
public function boot()
{
$biz = $this->container->get('biz');
$directory = $this->getPath().DIRECTORY_SEPARATOR.'Migrations';
if (is_dir($directory)) {
$biz['migration.directories'][] = $directory;
}
$directory = $this->getPath().DIRECTORY_SEPARATOR.'Biz';
if (is_dir($directory)) {
$biz['autoload.aliases'][$this->getName()] = "{$this->getNamespace()}\\Biz";
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。