@@ -45,6 +45,9 @@ discard block |
||
45 | 45 | return $tokens; |
46 | 46 | } |
47 | 47 | |
48 | + /** |
|
49 | + * @param string $name |
|
50 | + */ |
|
48 | 51 | public static function find($name) |
49 | 52 | { |
50 | 53 | if (self::hasHintInformation($name = trim($name))) { |
@@ -61,6 +64,9 @@ discard block |
||
61 | 64 | }, ['blade.php']); |
62 | 65 | } |
63 | 66 | |
67 | + /** |
|
68 | + * @param string $name |
|
69 | + */ |
|
64 | 70 | protected static function findNamespacedView($name) |
65 | 71 | { |
66 | 72 | [$namespace, $view] = self::parseNamespaceSegments($name); |
@@ -95,11 +101,17 @@ discard block |
||
95 | 101 | } |
96 | 102 | } |
97 | 103 | |
104 | + /** |
|
105 | + * @param string $name |
|
106 | + */ |
|
98 | 107 | public static function hasHintInformation($name) |
99 | 108 | { |
100 | 109 | return strpos($name, '::') > 0; |
101 | 110 | } |
102 | 111 | |
112 | + /** |
|
113 | + * @param string $message |
|
114 | + */ |
|
103 | 115 | public static function forceFilePutContents($filepath, $message){ |
104 | 116 | try { |
105 | 117 | $isInFolder = preg_match("/^(.*)\/([^\/]+)$/", $filepath, $filepathMatches); |