IphpFileStoreBundle icon indicating copy to clipboard operation
IphpFileStoreBundle copied to clipboard

symfony3 support

Open ghost opened this issue 9 years ago • 1 comments

I'm using symfony3 for my new project. As usual I installed this bundle and when I execute "php bin/console doctrine:generate:entities AppBundle" command to generate my entities i get follow error in my terminal:

Fatal error: Class Iphp\FileStoreBundle\Command\RepairFileDataCommand contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Sensio\Bundle\GeneratorBundle\Command\GeneratorCommand::createGenerator) in /Users/any-user/workflow/php/my-app-name-here/vendor/iphp/filestore-bundle/Iphp/FileStoreBundle/Command/RepairFileDataCommand.php on line 16

Sorry for my English, have a nice day.

ghost avatar Feb 02 '16 09:02 ghost

In your Symfony 3 directory open following file: \vendor\iphp\filestore-bundle\Iphp\FileStoreBundle\Command\RepairFileDataCommand.php

and add following empty method to class RepairFileDataCommand :

protected function createGenerator() {
}

murtukov avatar Aug 19 '16 16:08 murtukov