protected function generateKey()
    {
        return Json::encode([
            'model' => \get_class($this->owner),
            'id'    => $this->owner->getPrimaryKey(),
            'key'   => $this->_key,
        ]);
    }
protected function generateKey()
    {
        return Json::encode([
            'model' => \get_class($this->owner),
            'id'    => $this->owner->getPrimaryKey(),
            'key'   => $this->_key,
        ]);
    }
protected function generateKey ( ) { return Json :: encode ( [ 'model' => \ get_class ( $ this -> owner ) , 'id' => $ this -> owner -> getPrimaryKey ( ) , 'key' => $ this -> _key , ] ) ; }
Generates key for email template.

@return string
Generates key for email template .