PHP 클래스 PhpSpec\Exception\ExceptionFactory

파일 보기 프로젝트 열기: phpspec/phpspec 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
callingMethodOnNonObject ( string $method ) : PhpSpec\Exception\Wrapper\SubjectException
classNotFound ( string $classname ) : PhpSpec\Exception\Fracture\ClassNotFoundException
gettingPropertyOnNonObject ( string $property ) : PhpSpec\Exception\Wrapper\SubjectException
methodNotFound ( string $classname, string $method, array $arguments = [] ) : Fracture\MethodNotFoundException
methodNotVisible ( string $classname, string $method, array $arguments = [] ) : Fracture\MethodNotVisibleException
namedConstructorNotFound ( string $classname, string $method, array $arguments = [] ) : Fracture\NamedConstructorNotFoundException
propertyNotFound ( mixed $subject, string $property ) : PhpSpec\Exception\Fracture\PropertyNotFoundException
settingPropertyOnNonObject ( string $property ) : PhpSpec\Exception\Wrapper\SubjectException

메소드 상세

__construct() 공개 메소드

public __construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
$presenter PhpSpec\Formatter\Presenter\Presenter

callingMethodOnNonObject() 공개 메소드

public callingMethodOnNonObject ( string $method ) : PhpSpec\Exception\Wrapper\SubjectException
$method string
리턴 PhpSpec\Exception\Wrapper\SubjectException

classNotFound() 공개 메소드

public classNotFound ( string $classname ) : PhpSpec\Exception\Fracture\ClassNotFoundException
$classname string
리턴 PhpSpec\Exception\Fracture\ClassNotFoundException

gettingPropertyOnNonObject() 공개 메소드

public gettingPropertyOnNonObject ( string $property ) : PhpSpec\Exception\Wrapper\SubjectException
$property string
리턴 PhpSpec\Exception\Wrapper\SubjectException

methodNotFound() 공개 메소드

public methodNotFound ( string $classname, string $method, array $arguments = [] ) : Fracture\MethodNotFoundException
$classname string
$method string
$arguments array
리턴 Fracture\MethodNotFoundException

methodNotVisible() 공개 메소드

public methodNotVisible ( string $classname, string $method, array $arguments = [] ) : Fracture\MethodNotVisibleException
$classname string
$method string
$arguments array
리턴 Fracture\MethodNotVisibleException

namedConstructorNotFound() 공개 메소드

public namedConstructorNotFound ( string $classname, string $method, array $arguments = [] ) : Fracture\NamedConstructorNotFoundException
$classname string
$method string
$arguments array
리턴 Fracture\NamedConstructorNotFoundException

propertyNotFound() 공개 메소드

public propertyNotFound ( mixed $subject, string $property ) : PhpSpec\Exception\Fracture\PropertyNotFoundException
$subject mixed
$property string
리턴 PhpSpec\Exception\Fracture\PropertyNotFoundException

settingPropertyOnNonObject() 공개 메소드

public settingPropertyOnNonObject ( string $property ) : PhpSpec\Exception\Wrapper\SubjectException
$property string
리턴 PhpSpec\Exception\Wrapper\SubjectException