Encrypter

Illuminate\Encryption\Encrypter

class src/Illuminate/Encryption/Encrypter.php

__construct

v11.0.0 以前から

__construct($key, $cipher = 'aes-128-cbc')
@param string $key
@param string $cipher
  1. v11.0.0 追加
    変更後
    __construct($key, $cipher = 'aes-128-cbc') [@param string $key, @param string $cipher, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct($key, $cipher = 'aes-128-cbc') [@param string $key, @param string $cipher, @return void]
    変更後
    __construct($key, $cipher = 'aes-128-cbc') [@param string $key, @param string $cipher]

appearsEncrypted

v12.45.0 から

static

static appearsEncrypted($value)
@param mixed $value
@return bool
  1. v12.45.0 追加
    変更後
    static appearsEncrypted($value) [@param mixed $value, @return bool]

decrypt

v11.0.0 以前から

decrypt($payload, $unserialize = true)
@param string $payload
@param bool $unserialize
@return mixed
  1. v11.0.0 追加
    変更後
    decrypt($payload, $unserialize = true) [@param string $payload, @param bool $unserialize, @return mixed]

decryptString

v11.0.0 以前から

decryptString($payload)
@param string $payload
@return string
  1. v11.0.0 追加
    変更後
    decryptString($payload) [@param string $payload, @return string]

encrypt

v11.0.0 以前から

encrypt($value, $serialize = true)
@param mixed $value
@param bool $serialize
@return string
  1. v11.0.0 追加
    変更後
    encrypt($value, $serialize = true) [@param mixed $value, @param bool $serialize, @return string]

encryptString

v11.0.0 以前から

encryptString($value)
@param string $value
@return string
  1. v11.0.0 追加
    変更後
    encryptString($value) [@param string $value, @return string]

generateKey

v11.0.0 以前から

static

static generateKey($cipher)
@param string $cipher
@return string
  1. v11.0.0 追加
    変更後
    static generateKey($cipher) [@param string $cipher, @return string]

getAllKeys

v11.0.0 以前から

getAllKeys()
@return array
  1. v11.0.0 追加
    変更後
    getAllKeys() [@return array]

getKey

v11.0.0 以前から

getKey()
@return string
  1. v11.0.0 追加
    変更後
    getKey() [@return string]

getPreviousKeys

v11.0.0 以前から

getPreviousKeys()
@return array
  1. v11.0.0 追加
    変更後
    getPreviousKeys() [@return array]

previousKeys

v11.0.0 以前から

previousKeys(array $keys)
@param array $keys
@return $this
  1. v11.0.0 追加
    変更後
    previousKeys(array $keys) [@return $this]
  2. v11.1.1 シグネチャ変更
    変更前
    previousKeys(array $keys) [@return $this]
    変更後
    previousKeys(array $keys) [@param array $keys, @return $this]

supported

v11.0.0 以前から

static

static supported($key, $cipher)
@param string $key
@param string $cipher
@return bool
  1. v11.0.0 追加
    変更後
    static supported($key, $cipher) [@param string $key, @param string $cipher, @return bool]