for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace AlecRabbit\Helpers;
use AlecRabbit\Helpers\Objects\Picklock;
if (!function_exists(__NAMESPACE__ . '\callMethod')) {
/**
* Calls method $methodName of object $object using arguments ...$args.
*
* @param object $object
* @param string $methodName
* @param mixed ...$args
* @return mixed
*/
function callMethod(object $object, string $methodName, ...$args)
{
return
Picklock::callMethod($object, $methodName, ...$args);
}
if (!function_exists(__NAMESPACE__ . '\getValue')) {
* @param string $propName
function getValue(object $object, string $propName)
Picklock::getValue($object, $propName);