src/Dev/FixtureFactory.php
public function getId($class, $identifier)
    {
        if (isset($this->fixtures[$class][$identifier])) {
            return $this->fixtures[$class][$identifier];
        } else {
            return false;
        }
    }
public function getId($class, $identifier)
    {
        if (isset($this->fixtures[$class][$identifier])) {
            return $this->fixtures[$class][$identifier];
        } else {
            return false;
        }
    }
public function getId ( $ class , $ identifier ) { if ( isset ( $ this -> fixtures [ $ class ] [ $ identifier ] ) ) { return $ this -> fixtures [ $ class ] [ $ identifier ] ; } else { return false ; } }
Get the ID of an object from the fixture.

@param string $class The data class, as specified in your fixture file.  Parent classes won't work
@param string $identifier The identifier string, as provided in your fixture file
@return int
Get the ID of an object from the fixture .