This commit is contained in:
2021-04-23 18:40:03 +08:00
parent 8cd5562b20
commit 44810c1d68
+1
View File
@@ -187,6 +187,7 @@ abstract class Pool extends Component
*/ */
private function createByCallback($name, mixed $callback) private function createByCallback($name, mixed $callback)
{ {
var_dump($this->canCreate($name));
if (!$this->canCreate($name)) { if (!$this->canCreate($name)) {
return; return;
} }