Méthode |
Description |
|
enablePublicAccessOfMethod ( mixed $class, string $name ) : ReflectionMethod |
Sets a private or protected class method to be publicly accessible. |
|
enablePublicAccessOfProperty ( $class, $property ) : ReflectionProperty |
Sets a private or protected class property to be publicly accessible. |
|
getPackageProviders ( Illuminate\Foundation\Application $app ) : array |
Get package providers. |
|
mock ( string $class, mixed $parameters = [] ) : Mockery\MockInterface |
Mock a class and optionally bind it in the IoC container. |
|
setValueOfInternalProperty ( object $instance, string $property, mixed $value ) : ReflectionProperty |
Set the value of a private or protected class property. |
|