protected function validateAlphaDash( $attribute, $value )
	{
		if ( !is_string( $value ) && !is_numeric( $value ) )
		{
			return false;
		}

		return preg_match( '/^[\pL\pM\pN_-]+$/u', $value );
	}
protected function validateAlphaDash( $attribute, $value )
	{
		if ( !is_string( $value ) && !is_numeric( $value ) )
		{
			return false;
		}

		return preg_match( '/^[\pL\pM\pN_-]+$/u', $value );
	}
protected function validateAlphaDash ( $ attribute , $ value ) { if ( ! is_string ( $ value ) && ! is_numeric ( $ value ) ) { return false ; } return preg_match ( '/^[\pL\pM\pN_-]+$/u' , $ value ) ; }
Validate that an attribute contains only alpha-numeric characters, dashes, and underscores.

@param  string $attribute
@param  mixed $value
@return bool
Validate that an attribute contains only alpha - numeric characters dashes and underscores .