felixdorn / call-method
call-method
1.0.0
2021-05-16 09:02 UTC
Requires
- php: ^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3
- pestphp/pest: ^0.3.8
- phpstan/phpstan: ^0.12.48
- symfony/var-dumper: ^5.2.0
This package is auto-updated.
Last update: 2024-11-16 16:37:21 UTC
README
Installation
Requires PHP 8.0.0+
You can install the package via composer:
composer require felixdorn/call-method
Usage
class BladeViewCompiler { protected function compileComponentString(string $value): string { return $value; } } $compiler = new BladeViewCompiler(); call($compiler, 'compileComponentString', 'value'); // returns "value"
Testing
composer test
call-method was created by Félix Dorn under the MIT license.