Skip to content

Conversation

@andrey1s
Copy link

Q A
Bug fix? [no]
New feature? [yes]
BC breaks? [no]
Deprecations? [no]
Tests pass? [yes]
Fixed tickets ~
License MIT
Doc PR #745

private $source;

/**
* ContentRepositoryEnhancer constructor.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets remove this line, it does not say anything.

@dbu
Copy link
Member

dbu commented Feb 26, 2016

i think this makes sense when you have a database layer that does not provide you with relations to automatically load the content.

can you please check where we can add this to the documentation?

use Symfony\Cmf\Component\Routing\RouteObjectInterface;
use Symfony\Component\HttpFoundation\Request;

class ContentRepositoryEnhancer implements RouteEnhancerInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a short description what this enhancer is doing

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add rules for the styleci.io?

private $source;

/**
* @param ContentRepositoryInterface $contentRepository repository for the search content
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "repository to search for the content" is better?

@wouterj
Copy link
Member

wouterj commented Feb 27, 2016

I like this feature, it's a very effective and simple way to support content in ORM databases.

@dbu
Copy link
Member

dbu commented Feb 27, 2016

squashed and merged in 8f17286

thanks a lot @andrey1s

@dbu dbu closed this Feb 27, 2016
@lsmith77 lsmith77 removed the wip/poc label Feb 27, 2016
@dbu
Copy link
Member

dbu commented Feb 27, 2016

i created symfony-cmf/routing-bundle#337 for the bundle. @andrey1s would you have time to work on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants