projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c0a9c59cc97b3d0bc0ae059fc5f1b1b9c9e06884
[yaffs-website]
/
FunctionUtils.php
1
<?php
2
namespace Drush;
3
4
trait FunctionUtils
5
{
6
protected $sut;
7
8
protected function callProtected($methodName, $args = [])
9
{
10
$r = new \ReflectionMethod($this->sut, $methodName);
11
$r->setAccessible(true);
12
return $r->invokeArgs($this->sut, $args);
13
}
14
}