Understanding the documentation

Don't know if I understood rightly one moment: "If you’re using PHP 5.4 is recommended declare each column that makes part of the model in order to save memory and reduce the memory allocation." ("Working with Models" article)

Does it means to declare php-variables, which has the same names as columns in datatable?


class Robots extends Phalcon\Mvc\Model

    public $id;

    public $name;

    public $type;

    public $year;

    public function getSource()
        return "robots";


A phrase "declare column" is slightly confusing =)


Hi Eavu, yes, that exactly means define each property as a column rather than let PHP define them dynamically