Facebook
From Kosior Bania, 9 Years ago, written in Plain Text.
">

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type bool

Filename: view/view.php

Line Number: 33

from

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type bool

Filename: view/view.php

Line Number: 33

- view diff
Embed
Download Paste or View Raw
Hits: 933
  1. 1. Aspekt który blokuje wywołania metod statycznych
  2. z wszystkich klas wewnątrz pakietu model, albo wewnątrz podpakietu. Poprzez wyrzucenie wyjątku.
  3.  
  4. RuntimeExeption
  5.  
  6. pointcut secureAccess() : execution(static * model..*.*(..));
  7.  
  8.         before() : secureAccess() {
  9.                 throw new RuntimeException("Brak dostepu do metody: "
  10.                                 + thisJoinPointStaticPart.getSignature());
  11.         }
  12.