src/Model.php
public function initialize()
    {
        $this->initializeConnections();
        $this->_table and $this->setSource($this->_table);
        $this->keepSnapshots(true);
    }
public function initialize()
    {
        $this->initializeConnections();
        $this->_table and $this->setSource($this->_table);
        $this->keepSnapshots(true);
    }
public function initialize ( ) { $ this -> initializeConnections ( ) ; $ this -> _table and $ this -> setSource ( $ this -> _table ) ; $ this -> keepSnapshots ( true ) ; }
Runs once, only when the model instance is created at the first time
@throws PhalconDb\Exception
Runs once only when the model instance is created at the first time