GraphAware\Neo4j\OGM\Metadata\EntityIdMetadata::getValue PHP Method

getValue() public method

public getValue ( $object ) : mixed
$object
return mixed
    public function getValue($object)
    {
        $this->reflectionProperty->setAccessible(true);
        return $this->reflectionProperty->getValue($object);
    }

Usage Example

 /**
  * @param $object
  *
  * @return mixed
  */
 public function getIdValue($object)
 {
     return $this->entityIdMetadata->getValue($object);
 }