/usr/share/php/Kdyby/Events/LifeCycleEvent.php is in php-kdyby-events 2.4.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | <?php
/**
* This file is part of the Kdyby (http://www.kdyby.org)
*
* Copyright (c) 2008, 2012 Filip Procházka (filip@prochazka.su)
*
* @license http://www.kdyby.org/license
*/
namespace Kdyby\Events;
use Kdyby;
use Nette\Application\Application;
use Nette\Application\IResponse;
use Nette\Application\Request;
use Nette;
/**
* @author Filip Procházka <filip@prochazka.su>
*/
final class LifeCycleEvent extends Nette\Object
{
/**
* Occurs before the application loads presenter
*/
const onStartup = 'onStartup';
/**
* Occurs before the application shuts down
*/
const onShutdown = 'onShutdown';
/**
* Occurs when a new request is ready for dispatch;
*/
const onRequest = 'onRequest';
/**
* Occurs when a new response is received
*/
const onResponse = 'onResponse';
/**
* Occurs when an unhandled exception occurs in the application
*/
const onError = 'onError';
}
|