src/PeekAndPoke/Component/Formal/Validation/Accepts.php
public static function startingWith($pattern, $message = null)
    {
        if ($message === null) {
            $message = 'Input must start with "' . $pattern . '"';
        }

        return new ExpectsStartingWith($pattern, $message);
    }
public static function startingWith($pattern, $message = null)
    {
        if ($message === null) {
            $message = 'Input must start with "' . $pattern . '"';
        }

        return new ExpectsStartingWith($pattern, $message);
    }
public static function startingWith ( $ pattern , $ message = null ) { if ( $ message === null ) { $ message = 'Input must start with "' . $ pattern . '"' ; } return new ExpectsStartingWith ( $ pattern , $ message ) ; }
@param string $pattern
@param string $message

@return ExpectsStartingWith
@param string $pattern @param string $message