Page MenuHomeWickedGov Phorge

MockBitmapHandler.php
No OneTemporary

Size
512 B
Referenced Files
None
Subscribers
None

MockBitmapHandler.php

<?php
/**
* @license GPL-2.0-or-later
* @ingroup Media
*/
/**
* Fake handler for Bitmap images.
*/
class MockBitmapHandler extends BitmapHandler {
/** @inheritDoc */
public function doTransform( $image, $dstPath, $dstUrl, $params, $flags = 0 ) {
return MockImageHandler::doFakeTransform( $this, $image, $dstPath, $dstUrl, $params, $flags );
}
/** @inheritDoc */
public function doClientImage( $image, $scalerParams ) {
return $this->getClientScalingThumbnailImage( $image, $scalerParams );
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 19 2026, 21:49 (7 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d5/3b/685ea720f66204328fef95a6122d
Default Alt Text
MockBitmapHandler.php (512 B)

Event Timeline