ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
NotSupportingVisibilityTrait.php
Go to the documentation of this file.
1 <?php
2 
4 
6 
7 trait NotSupportingVisibilityTrait
8 {
16  public function getVisibility($path)
17  {
18  throw new LogicException(get_class($this) . ' does not support visibility. Path: ' . $path);
19  }
20 
29  public function setVisibility($path, $visibility)
30  {
31  throw new LogicException(get_class($this) . ' does not support visibility. Path: ' . $path . ', visibility: ' . $visibility);
32  }
33 }
$path
Definition: aliased.php:25