Nelmio\Alice\FixtureBag::without PHP Méthode

without() public méthode

Creates a new instance which will not contain the fixture of the given ID. Will still proceed even if such fixture does not exist.
public without ( Nelmio\Alice\FixtureInterface $fixture ) : self
$fixture Nelmio\Alice\FixtureInterface
Résultat self
    public function without(FixtureInterface $fixture) : self
    {
        $clone = clone $this;
        unset($clone->fixtures[$fixture->getId()]);
        return $clone;
    }