Open pasket opened 10 years ago
You must add this line before calling TransferFileFacadeFactory:
use Digitick\Sepa\TransferFile\Factory\TransferFileFacadeFactory;
See PHP namespaces: http://fr2.php.net/manual/en/language.namespaces.php
This is not an issue.
Thank you.
Hi, I'm new in php an composer. It'd be great if someone could help with this error. I made:
$ git clone git://github.com/digitick/php-sepa-xml
$ cd php-sepa-xml
$ composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) Nothing to install or update Generating autoload files
$ vim example.php <?php require_once 'vendor/autoload.php'; $directDebit = TransferFileFacadeFactory::createDirectDebit('test123', 'Me'); ... ... ... ?>
$ php example.php PHP Fatal error: Class 'TransferFileFacadeFactory' not found in /var/www/php-sepa-xml/example.php on line 6