• PHP
  • Doctrine2 entity changeset for relations

    Doctrine2 offers very powerful API for getting entity properties that have changed. This can be achieved using Doctrine\ORM\UnitOfWork. We can call: Doctrine\ORM\UnitOfWork::computeChangeSets() to compute all the changes that have been done to entities and collections and store these changes; Doctrine\ORM\UnitOfWork::getEntityChangeSet($entity) to retrieve all changes to our entity object; Doctrine\ORM\UnitOfWork::getOriginalEntityData($entity) to retrieve the original data of […]

  • Conferences
  • TDD with BDD in PHP and Symfony – my presentation at the LDNiB conference

    Below I’ve attached slides from my presentation about Test-Driven Development and Behaviour-Driven Development in PHP from “Lubelskie Dni Nauki i Biznesu” conference. The main reason for my presence at this particular conference was the opportunity to talk with students and not only, on the potential job / internship in Level 7 Systems – as we […]