public function __construct(RegistryInterface $registry, Pool $pool) { parent::__construct($registry); $this->pool = $pool; }