fluent
fluent copied to clipboard
Fluent mapping driver for Doctrine2
I'm currently investigating whether laravel-doctrine is the solution I've been hoping for for my project, and the fluent package looks like exactly the sort of workflow I was hoping to...
Hey guys. I would really appreciate the community's help, because I'm following the fluent documentation step by step, but I'm not succeeding. I'm migrating a project from eloquent to doctrine,...
This PR adds a function that can convert an array of paths into an array of Mapping objects by reflecting on declared classes, just as the AnnotationDriver does. The FluentDriver...
Looks like `hardDelete` feature can't be enabled when using Fluent. At least I can't find some obvious or documented way. The [`SoftDeleteableListener`](https://github.com/doctrine-extensions/DoctrineExtensions/blob/7c0d5aeab0f840d2a18a18c3dc10b0117c597a42/src/SoftDeleteable/SoftDeleteableListener.php#L67) only considers `hardDelete` as enabled if it's explicitly...
When trying to use this kind of construct $builder->integer('userId')->columnName('user_id')->index('user_id_token_index')->nullable(); Fluent is giving me the error that there is no column named userId on the database. Obvious, because I changed the...
public function map(Fluent $builder){ $builder->entity()->setRepositoryClass(DiscussionDoctrineRepository::class); $builder->table('my_discussion'); $builder->increments('id'); $builder->string('title'); $builder->string('content'); $builder->string('cover'); $builder->string('createTime'); $builder->string('startTime'); $builder->string('endTime'); $builder->string('status'); $builder->string('hot')->columnName('hot_score'); $builder->oneToOne(User::class, 'user')->joinColumn('uid', 'uid'); } above joinColumn not exist joinColumn method, is bug?
Gedmo provides some abstract classes and default implementations for some of their extensions, and we've added mappings for them in the same way they do for annotations. When mappings for...
I'm getting the following error when trying to run this command for an entity using timestampable: > [ErrorException] > Argument 1 passed to LaravelDoctrine\Fluent\Extensions\Gedmo\AbstractTrackingExtension::__construct() must be an instance of LaravelDoctrine\Fluent\Extensions\ExtensibleClass...
``` 'paths' => [ base_path('src/AR1/Infrastructure/Mappings'), base_path('src/2/Infrastructure/Mappings'), ], ```
Hello, I have problem that extensions are not working with Fluent, in this case timestamps: ```php