PHP 클래스 SebastiaanLuca\Router\Tests\TestCase

상속: extends Orchestra\Testbench\TestCase, use trait Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration
파일 보기 프로젝트 열기: sebastiaanluca/laravel-router

보호된 메소드들

메소드 설명
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.

메소드 상세

enablePublicAccessOfMethod() 보호된 메소드

Sets a private or protected class method to be publicly accessible.
protected enablePublicAccessOfMethod ( mixed $class, string $name ) : ReflectionMethod
$class mixed
$name string
리턴 ReflectionMethod

enablePublicAccessOfProperty() 보호된 메소드

Sets a private or protected class property to be publicly accessible.
protected enablePublicAccessOfProperty ( $class, $property ) : ReflectionProperty
$class
$property
리턴 ReflectionProperty

getPackageProviders() 보호된 메소드

Get package providers.
protected getPackageProviders ( Illuminate\Foundation\Application $app ) : array
$app Illuminate\Foundation\Application
리턴 array

mock() 보호된 메소드

Mock a class and optionally bind it in the IoC container.
protected mock ( string $class, mixed $parameters = [] ) : Mockery\MockInterface
$class string
$parameters mixed
리턴 Mockery\MockInterface

setValueOfInternalProperty() 보호된 메소드

Set the value of a private or protected class property.
protected setValueOfInternalProperty ( object $instance, string $property, mixed $value ) : ReflectionProperty
$instance object
$property string
$value mixed
리턴 ReflectionProperty