PHP Class Nelmio\Alice\Throwable\Exception\Generator\Instantiator\InstantiationExceptionFactory

Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

create() public static méthode

public static create ( Nelmio\Alice\FixtureInterface $fixture, integer $code, Throwable $previous ) : InstantiationException
$fixture Nelmio\Alice\FixtureInterface
$code integer
$previous Throwable
Résultat InstantiationException

createForConstructorIsMissingMandatoryParameters() public static méthode

public static createForConstructorIsMissingMandatoryParameters ( Nelmio\Alice\FixtureInterface $fixture ) : InstantiationException
$fixture Nelmio\Alice\FixtureInterface
Résultat InstantiationException

createForCouldNotGetConstructorData() public static méthode

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

createForInstantiatorNotFoundForFixture() public static méthode

public static createForInstantiatorNotFoundForFixture ( Nelmio\Alice\FixtureInterface $fixture ) : InstantiatorNotFoundException
$fixture Nelmio\Alice\FixtureInterface
Résultat InstantiatorNotFoundException

createForInvalidInstanceType() public static méthode

public static createForInvalidInstanceType ( Nelmio\Alice\FixtureInterface $fixture, object $instance ) : InstantiationException
$fixture Nelmio\Alice\FixtureInterface
$instance object
Résultat InstantiationException

createForNonPublicConstructor() public static méthode

public static createForNonPublicConstructor ( Nelmio\Alice\FixtureInterface $fixture ) : InstantiationException
$fixture Nelmio\Alice\FixtureInterface
Résultat InstantiationException