public function startsWith($word, $identical = false)
    {
        $this->addCondition(__METHOD__, [$word, $identical]);

        return $this;
    }
public function startsWith($word, $identical = false)
    {
        $this->addCondition(__METHOD__, [$word, $identical]);

        return $this;
    }
public function startsWith ( $ word , $ identical = false ) { $ this -> addCondition ( __METHOD__ , [ $ word , $ identical ] ) ; return $ this ; }
This validator validates only if the value is at the beginning of a string.

@param mixed $word
@param bool  $identical

@return \NilPortugues\Validator\Attribute\String\StringAttribute
This validator validates only if the value is at the beginning of a string .