Skip to content

Commit a163fda

Browse files
committed
Cleanup
1 parent 1cd17aa commit a163fda

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

src/Jade/Symfony/JadeEngine.php

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,5 @@
66

77
class JadeEngine extends Jade
88
{
9-
/**
10-
* Compile PHP code from a Pug input or a Pug file.
11-
*
12-
* @param string input
13-
*
14-
* @throws \Exception
15-
*
16-
* @return string
17-
*/
18-
public function compile($input)
19-
{
20-
$php = parent::compile($input);
21-
$php = preg_replace('/(\\Jade\\Compiler::getPropertyFromAnything\((?:[^()]++|(?R))*+\))\(((?:[^()]++|(?R))*+)\)/', 'call_user_func($1, $2)', $php);
22-
23-
return $php;
24-
}
9+
// Jade engine customization come here.
2510
}

0 commit comments

Comments
 (0)