basename()Twig 中是否有与 PHP 等效的功能?
basename()
就像是:
$file = basename($path, ".php");
symfony twig
symfony ×1
twig ×1