Laravel - Mutators / Casts - Cast Parameters

When attaching a custom cast to a model, cast parameters may be specified by separating them from the class name using a : character and comma-delimiting multiple parameters. The parameters will be passed to the constructor of the cast class:

     * The attributes that should be cast.
     * @var array
    protected $casts = [
        'secret' => Hash::class.':sha256',