projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bcc3521b7b94c78fd340687529b1566b137da8ad
[yaffs-website]
/
vendor
/
consolidation
/
site-alias
/
tests
/
src
/
FunctionUtils.php
1
<?php
2
namespace Consolidation\SiteAlias;
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
}