Split
class Split extends Mutator (View source)
Splits a string into an array of strings with a specified max size.
Traits
Properties
protected | $encoding | from UsesEncoding |
Methods
__construct(int $size, string $encoding = null)
No description
mixed
mutate(mixed $value)
Mutate the input value.
Details
__construct(int $size, string $encoding = null)
No description
protected string|null
getEncoding(string $input = null)
No description
static Split
make(int $size, string $encoding = null)
No description
mixed
mutate(mixed $value)
Mutate the input value.
protected void
setEncoding(string|null $encoding)
No description
protected void
validateEncoding(string|null $encoding)
No description