PHP 클래스 Nelmio\Alice\Throwable\Exception\Generator\Instantiator\InstantiationExceptionFactory

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

공개 메소드들

메소드 설명
create ( Nelmio\Alice\FixtureInterface $fixture, integer $code, Throwable $previous ) : InstantiationException
createForConstructorIsMissingMandatoryParameters ( Nelmio\Alice\FixtureInterface $fixture ) : InstantiationException
createForCouldNotGetConstructorData ( Nelmio\Alice\FixtureInterface $fixture, integer $code, Throwable $previous = null ) : InstantiationException
createForInstantiatorNotFoundForFixture ( Nelmio\Alice\FixtureInterface $fixture ) : InstantiatorNotFoundException
createForInvalidInstanceType ( Nelmio\Alice\FixtureInterface $fixture, object $instance ) : InstantiationException
createForNonPublicConstructor ( Nelmio\Alice\FixtureInterface $fixture ) : InstantiationException

메소드 상세

create() 공개 정적인 메소드

public static create ( Nelmio\Alice\FixtureInterface $fixture, integer $code, Throwable $previous ) : InstantiationException
$fixture Nelmio\Alice\FixtureInterface
$code integer
$previous Throwable
리턴 InstantiationException

createForConstructorIsMissingMandatoryParameters() 공개 정적인 메소드

public static createForConstructorIsMissingMandatoryParameters ( Nelmio\Alice\FixtureInterface $fixture ) : InstantiationException
$fixture Nelmio\Alice\FixtureInterface
리턴 InstantiationException

createForCouldNotGetConstructorData() 공개 정적인 메소드

public static createForCouldNotGetConstructorData ( Nelmio\Alice\FixtureInterface $fixture, integer $code, Throwable $previous = null ) : InstantiationException
$fixture Nelmio\Alice\FixtureInterface
$code integer
$previous Throwable
리턴 InstantiationException

createForInstantiatorNotFoundForFixture() 공개 정적인 메소드

public static createForInstantiatorNotFoundForFixture ( Nelmio\Alice\FixtureInterface $fixture ) : InstantiatorNotFoundException
$fixture Nelmio\Alice\FixtureInterface
리턴 InstantiatorNotFoundException

createForInvalidInstanceType() 공개 정적인 메소드

public static createForInvalidInstanceType ( Nelmio\Alice\FixtureInterface $fixture, object $instance ) : InstantiationException
$fixture Nelmio\Alice\FixtureInterface
$instance object
리턴 InstantiationException

createForNonPublicConstructor() 공개 정적인 메소드

public static createForNonPublicConstructor ( Nelmio\Alice\FixtureInterface $fixture ) : InstantiationException
$fixture Nelmio\Alice\FixtureInterface
리턴 InstantiationException