ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilAbstractBuddySystemRelationState.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
27  public function isInitial(): bool
28  {
29  return false;
30  }
31 
35  public function request(ilBuddySystemRelation $relation): void
36  {
37  throw new ilBuddySystemRelationStateException('Invalid state transition: ' . __FUNCTION__);
38  }
39 
43  public function ignore(ilBuddySystemRelation $relation): void
44  {
45  throw new ilBuddySystemRelationStateException('Invalid state transition: ' . __FUNCTION__);
46  }
47 
51  public function link(ilBuddySystemRelation $relation): void
52  {
53  throw new ilBuddySystemRelationStateException('Invalid state transition: ' . __FUNCTION__);
54  }
55 
59  public function unlink(ilBuddySystemRelation $relation): void
60  {
61  throw new ilBuddySystemRelationStateException('Invalid state transition: ' . __FUNCTION__);
62  }
63 }
$relation
Class ilAbstractBuddySystemRelationState.
Interface ilBuddySystemRelationState.