monkey_patch.inc in Module Object Oriented Programming API 7.2
This file is intended to be separate.
It helps to test whether monkey patching works.
File
tests/monkey_patch.inc
View source
<?php
function doesMonkeyPatchWork() {
return FALSE;
}
class ExampleApp {
public function exampleMethod() {
return 'ExampleApp';
}
}
class ExampleAppTestDecorator {
public function exampleMethod() {
return 'TestDecorator';
}
}
Functions
Name |
Description |
doesMonkeyPatchWork |
@file
This file is intended to be separate.
It helps to test whether monkey patching works. |
Classes