src/Pok/PoolDBM/Mapping/ClassMetadata.php
public function getIdentifierReference($manager)
    {
        if (!isset($this->identifierReferences[$manager])) {
            $rule = new \stdClass();
            $rule->referenceField = $this->identifierField;
            $rule->field          = $this->identifierField;

            return $rule;
        }

        return $this->identifierReferences[$manager];
    }
public function getIdentifierReference($manager)
    {
        if (!isset($this->identifierReferences[$manager])) {
            $rule = new \stdClass();
            $rule->referenceField = $this->identifierField;
            $rule->field          = $this->identifierField;

            return $rule;
        }

        return $this->identifierReferences[$manager];
    }
public function getIdentifierReference ( $ manager ) { if ( ! isset ( $ this -> identifierReferences [ $ manager ] ) ) { $ rule = new \ stdClass ( ) ; $ rule -> referenceField = $ this -> identifierField ; $ rule -> field = $ this -> identifierField ; return $ rule ; } return $ this -> identifierReferences [ $ manager ] ; }
Returns field idendifier given by manager.
If manager not specific, returns identifier field of model reference.

@param string $manager

@return \stdClass
Returns field idendifier given by manager . If manager not specific returns identifier field of model reference .