src/Initials.php
public function length($length = 2)
    {
        $this->length = (int) $length;
        $this->initials = $this->generateInitials();

        return $this;
    }
public function length($length = 2)
    {
        $this->length = (int) $length;
        $this->initials = $this->generateInitials();

        return $this;
    }
public function length ( $ length = 2 ) { $ this -> length = ( int ) $ length ; $ this -> initials = $ this -> generateInitials ( ) ; return $ this ; }
Set the length of the generated initials.

@param int $length

@return Initials
Set the length of the generated initials .