HippoStep\SilverStripePhpUnit9\SapphireTestPhpUnit9::idFromFixture
Get the ID of an object from the fixture.
Signature
protected function idFromFixture(string
$className,
string
$identifier )
Parameters
$className
— string- The data class or table name, as specified in your fixture file. Parent classes won't work
$identifier
— string- The identifier string, as provided in your fixture file
Returns
- int