Skip to content

Conversation

@MartkCz
Copy link
Member

@MartkCz MartkCz commented Apr 18, 2018

No description provided.


if (is_subclass_of($config['driver'], FilesystemCache::class)) {
$driverCache->setArguments([$builder->expand('%tempDir%/cache/Doctrine.' . ucfirst($service))]);
$driverCache->setArguments([$builder->parameters['tempDir'] . '/cache/Doctrine.' . ucfirst($service)]);
Copy link
Member

Choose a reason for hiding this comment

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

Could you please switch to Helpers::expand?

Copy link
Member Author

Choose a reason for hiding this comment

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

imo it's unnecessary. You only need parameter from ContainerBuilder and it's more faster. But you're boss :) Please confirm again, if you want to change it.

Copy link
Member

Choose a reason for hiding this comment

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

Well, you're right. My intention was to keep things same. But it's OK, let it be. :-)

@f3l1x f3l1x merged commit 6d7cd5f into contributte:master Apr 19, 2018
@f3l1x f3l1x added this to the v0.1 milestone Apr 19, 2018
@f3l1x
Copy link
Member

f3l1x commented Apr 19, 2018

Thank you.

@f3l1x f3l1x added the feature label Apr 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants