public static function setKey($key, $cipher = null)
    {
        static::$key = $key;

        if (!is_null($cipher)) {
            static::$cipher = $cipher;
        }
    }
public static function setKey($key, $cipher = null)
    {
        static::$key = $key;

        if (!is_null($cipher)) {
            static::$cipher = $cipher;
        }
    }
public static function setKey ( $ key , $ cipher = null ) { static :: $ key = $ key ; if ( ! is_null ( $ cipher ) ) { static :: $ cipher = $ cipher ; } }
Set the key

@param string $key
@param string $cipher
Set the key