public function getPkValue(Meta $meta = null)
    {
        if (null === $meta) {
            $meta = $this->getMeta();
        }

        return $this->{$meta->primaryKey->getAttrName()};
    }
public function getPkValue(Meta $meta = null)
    {
        if (null === $meta) {
            $meta = $this->getMeta();
        }

        return $this->{$meta->primaryKey->getAttrName()};
    }
public function getPkValue ( Meta $ meta = null ) { if ( null === $ meta ) { $ meta = $ this -> getMeta ( ) ; } return $ this -> { $ meta -> primaryKey -> getAttrName ( ) } ; }
Get the value of the model primary key.

@param Meta|null $meta

@return mixed

@since  1.1.0

@author Eddilbert Macharia (http://eddmash.com) <edd.cowan@gmail.com>
Get the value of the model primary key .