From fa2cde14da72b58ee3bc9021a09da4924cb456af Mon Sep 17 00:00:00 2001 From: Tiago Ap Cavalcante Pereira Date: Mon, 28 Dec 2020 15:27:27 -0300 Subject: [PATCH] Update DocumentBase.php --- src/DocumentBase.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/DocumentBase.php b/src/DocumentBase.php index d759fd3..113b440 100644 --- a/src/DocumentBase.php +++ b/src/DocumentBase.php @@ -10,6 +10,9 @@ abstract class DocumentBase { + abstract protected function check($doc); // verificar documento + abstract protected function generate(); // gerar documento + /** * Autenticar documento, retorne true caso o documento seja vĂ¡lido. * @param mixed $doc @@ -149,5 +152,4 @@ private function isAllValueEqual(array $data) return $value <= 1 ? true : false; } - }