CakePHP Programming

Working with CakePHP 3.0 Entity objects vs CakePHP 2.0 arrays

CakePHP3 finds will now return a ResultSet object that contains entity objects, one per records. You’ll have to work with these objects now instead of arrays. This is the official description of them: Cake\ORM\ResultSet – A collection of results that gives powerful tools for manipulating data in aggregate. Cake\ORM\Entity – Represents a single row result. […]