diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index b7b6e584..d0ae8ffd 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -167,6 +167,11 @@ class Annotation extends Component } $annotation = $annotation->execute([$object, $value->getName()]); $this->_prepertyes[get_class($object)][$value->getName()] = $annotation; + + if (str_contains(env('workerId'), 'Task')) { + var_dump(get_class($object) . '::' . $value->getName()); + } + if ($value->isPublic()) { $object->{$value->getName()} = $annotation; } else { diff --git a/Database/DatabasesProviders.php b/Database/DatabasesProviders.php index 57b2474c..fad0ccb7 100644 --- a/Database/DatabasesProviders.php +++ b/Database/DatabasesProviders.php @@ -50,10 +50,6 @@ class DatabasesProviders extends Providers */ public function scanModel() { - var_dump(env('workerId')); - if (str_contains(env('workerId'), 'Task')) { - var_dump(get_called_class()); - } $attributes = Snowflake::app()->getAttributes(); $attributes->read(MODEL_PATH, 'App\Models', 'models'); }