Lines Matching refs:private
6 private function aPrivate($a) { print __METHOD__ . "\n"; }
7 private static function aPrivateStatic($a) { print __METHOD__ . "\n"; }
12 $private = new ReflectionMethod('A', 'aPrivate');
18 $private->invoke(new A, NULL);
26 $private->invokeArgs(new A, array(NULL));
81 $private->setAccessible(TRUE);
86 $private->invoke(new A, NULL);
87 $private->invokeArgs(new A, array(NULL));
96 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod"
97 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod"
98 string(79) "Trying to invoke private method A::aPrivateStatic() from scope ReflectionMethod"
99 string(79) "Trying to invoke private method A::aPrivateStatic() from scope ReflectionMethod"