Esensi\Model\Traits\EncryptingModelTrait::getEncryptedAttribute PHP Метод

getEncryptedAttribute() публичный Метод

Get the decrypted value for an encrypted attribute.
public getEncryptedAttribute ( string $attribute ) : string
$attribute string name
Результат string
    public function getEncryptedAttribute($attribute)
    {
        $value = array_get($this->attributes, $attribute);
        return $this->isEncrypted($attribute) ? $this->decrypt($value) : $value;
    }