1 | <?php |
||
18 | class Captcha extends Facade |
||
|
|||
19 | { |
||
20 | |||
21 | /** |
||
22 | * @return string |
||
23 | */ |
||
24 | protected static function getFacadeAccessor() |
||
28 | |||
29 | /** |
||
30 | * 生成验证码图片标签 |
||
31 | * |
||
32 | * @return HtmlString |
||
33 | */ |
||
34 | public static function image() |
||
38 | |||
39 | /** |
||
40 | * 生成点击后刷新验证码的图片标签 |
||
41 | * |
||
42 | * @return HtmlString |
||
43 | */ |
||
44 | public static function clickableImage() |
||
55 | |||
56 | /** |
||
57 | * 获取图片验证码的URL |
||
58 | * |
||
59 | * @return string |
||
60 | */ |
||
61 | public static function src() |
||
65 | |||
66 | /** |
||
67 | * 返回验证码的URL |
||
68 | * |
||
69 | * @return string |
||
70 | */ |
||
71 | public static function url() |
||
75 | } |
||
76 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.