1: <?php 2: namespace Define\Exceptions; 3: 4: if(!defined('DIRECT_ACCESS')) { 5: die("Direct access is forbidden."); 6: } 7: 8: class NullPointerException extends FrameworkException { }