1<?php declare(strict_types=1); 2/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */ 3 4/** 5 * Interface ilTermsOfServiceDocumentEvaluation 6 * @author Michael Jansen <mjansen@databay.de> 7 */ 8interface ilTermsOfServiceDocumentEvaluation 9{ 10 /** 11 * @return ilTermsOfServiceSignableDocument 12 * @throws ilTermsOfServiceNoSignableDocumentFoundException 13 */ 14 public function document() : ilTermsOfServiceSignableDocument; 15 16 /** 17 * @return bool 18 */ 19 public function hasDocument() : bool; 20} 21