wiki.techinc.nl/.phan/internal_stubs/excimer.php
Daimona Eaytoy 92e864fb32 phan: Conditionally load PHP extension stubs with dedicated option
Stubs for PHP extensions like wikidiff2 or excimer can be conditionally
loaded using autoload_internal_extension_signatures, which is basically
a wrapper around extension_loaded.

Change-Id: I3e844427733339283c41fa9f4aeb23a776c36ce6
2020-06-08 18:39:25 +00:00

95 lines
1.4 KiB
PHP

<?php
// phpcs:ignoreFile
define( 'EXCIMER_REAL', 0 );
define( 'EXCIMER_CPU', 1 );
class ExcimerProfiler {
public function __construct() {
}
public function setPeriod( $period ) {
}
public function setEventType( $event_type ) {
}
public function setMaxDepth( $maxDepth ) {
}
public function setFlushCallback( $callback, $max_samples ) {
}
public function clearFlushCallback() {
}
public function start() {
}
public function stop() {
}
public function getLog() : ExcimerLog {
}
public function flush() {
}
}
class ExcimerLog {
private final function __construct() {
}
function formatCollapsed() {
}
/**
* @return array[]
*/
function aggregateByFunction() {
}
/**
* @return int
*/
function getEventCount() {
}
function current() {
}
function key() {
}
function next() {
}
function rewind() {
}
function valid() {
}
function count() {
}
function offsetExists( $offset ) {
}
function offsetGet( $offset ) {
}
function offsetSet( $offset, $value ) {
}
function offsetUnset( $offset ) {
}
}
class ExcimerLogEntry {
private final function __construct() {
}
function getTimestamp() {
}
function getEventCount() {
}
function getTrace() {
}
}
class ExcimerTimer {
function setEventType( $event_type ) {
}
function setInterval( $interval ) {
}
function setPeriod( $period ) {
}
function setCallback( $callback ) {
}
function start() {
}
function stop() {
}
function getTime() {
}
}