改名
This commit is contained in:
@@ -167,6 +167,11 @@ class Annotation extends Component
|
|||||||
}
|
}
|
||||||
$annotation = $annotation->execute([$object, $value->getName()]);
|
$annotation = $annotation->execute([$object, $value->getName()]);
|
||||||
$this->_prepertyes[get_class($object)][$value->getName()] = $annotation;
|
$this->_prepertyes[get_class($object)][$value->getName()] = $annotation;
|
||||||
|
|
||||||
|
if (str_contains(env('workerId'), 'Task')) {
|
||||||
|
var_dump(get_class($object) . '::' . $value->getName());
|
||||||
|
}
|
||||||
|
|
||||||
if ($value->isPublic()) {
|
if ($value->isPublic()) {
|
||||||
$object->{$value->getName()} = $annotation;
|
$object->{$value->getName()} = $annotation;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -50,10 +50,6 @@ class DatabasesProviders extends Providers
|
|||||||
*/
|
*/
|
||||||
public function scanModel()
|
public function scanModel()
|
||||||
{
|
{
|
||||||
var_dump(env('workerId'));
|
|
||||||
if (str_contains(env('workerId'), 'Task')) {
|
|
||||||
var_dump(get_called_class());
|
|
||||||
}
|
|
||||||
$attributes = Snowflake::app()->getAttributes();
|
$attributes = Snowflake::app()->getAttributes();
|
||||||
$attributes->read(MODEL_PATH, 'App\Models', 'models');
|
$attributes->read(MODEL_PATH, 'App\Models', 'models');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user