Registry / testing / eloquent-liberator

eloquent-liberator

JSON →
library3.0.0phppackagistunverified

A proxy for circumventing PHP access modifier restrictions.

composer require eloquent/liberator
INSTALL
IMPORT
SIG · ELOQUENT-LIBERATOR
E
eloquent-liberator
testingphpv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Liberator
use Eloquent\Liberator\Liberator;

Accessing private methods via Liberator

use Eloquent\Liberator\Liberator; $liberator = new Liberator($object); $liberator->privateMethod();
Debug
Known issues
gotchaMay break encapsulation and lead to unexpected behavior
fix
Use only for testing or legacy code; prefer reflection alternatives
affects: *
Upgrade
Version history
3.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
eloquent-liberator — pip install eloquent-liberator · libregistry