You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I have problems with editing source files. Aspects stop working after any change in the source file that works under the aspect. After running the cache:clear command, all aspects continue to work until a new change is made to the source file.
I'm using symfony 4.0.5 with autowiring.
The aspects that I use:
/**
* @Before("execution(public **\Application\**\*Service->*(*)) && !execution(public **\Application\**\*Service->__construct(*))")
*/
public function beginTransaction()
{
$this->entityManager->getConnection()->beginTransaction();
$this->entityManager->getConnection()->setAutoCommit(false);
}
/**
* @After("execution(public **\Application\**\*Service->*(*)) && !execution(public **\Application\**\*Service->__construct(*))")
*/
public function commitTransaction()
{
$this->entityManager->flush();
$this->entityManager->getConnection()->commit();
}
/**
* @AfterThrowing("execution(public **\Application\**\*Service->*(*)) && !execution(public **\Application\**\*Service->__construct(*))")
*/
public function rollbackTransaction()
{
if ($this->entityManager->getConnection()->isTransactionActive()) {
$this->entityManager->rollback();
}
}
The text was updated successfully, but these errors were encountered:
Hi, unfortunately a lot of things have changed in SF4, so need to update this bundle accordingly. Current bundle version couldn't handle new symfony. Sorry for that.
Hello! I have problems with editing source files. Aspects stop working after any change in the source file that works under the aspect. After running the cache:clear command, all aspects continue to work until a new change is made to the source file.
I'm using symfony 4.0.5 with autowiring.
The aspects that I use:
The text was updated successfully, but these errors were encountered: