mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-06 15:28:58 +01:00
release version 2.0.11
This commit is contained in:
@@ -198,7 +198,7 @@ class BaseStringHelper
|
||||
*
|
||||
* @param string $string Input string
|
||||
* @param string $with Part to search inside the $string
|
||||
* @param bool $caseSensitive Case sensitive search. Default is true. When case sensitive is enabled, $with must exactly match the starting of the string in order to get a true value.
|
||||
* @param bool $caseSensitive Case sensitive search. Default is true. When case sensitive is enabled, $with must exactly match the starting of the string in order to get a true value.
|
||||
* @return bool Returns true if first input starts with second input, false otherwise
|
||||
*/
|
||||
public static function startsWith($string, $with, $caseSensitive = true)
|
||||
|
||||
Reference in New Issue
Block a user