I installed it with composer and it does not work. I see the folder in vendor but when I execute script it says that funciton (redefine for example) is not define. I tried different variations: use function Patchwork\redefine as redefine;, \Patchwork\redefine. Nothing works. I only have manually include it: require_once __DIR__ . '/../vendor/antecedent/patchwork/Patchwork.php';. In this case it works.
I installed it with composer and it does not work. I see the folder in
vendor
but when I execute script it says that funciton (redefine
for example) is not define. I tried different variations:use function Patchwork\redefine as redefine;
,\Patchwork\redefine
. Nothing works. I only have manually include it:require_once __DIR__ . '/../vendor/antecedent/patchwork/Patchwork.php';
. In this case it works.