Skip to content

Instantly share code, notes, and snippets.

@talal424
talal424 / Cache.php
Last active July 29, 2021 20:42
Phalcon auto cache model ( with many to many relationships ) for Phalcon 4.1.x
<?php
declare(strict_types=1);
use Phalcon\Di;
use Phalcon\Mvc\Model;
use Phalcon\Mvc\ModelInterface;
use Phalcon\Mvc\Model\ResultsetInterface;
use Phalcon\Mvc\Model\RelationInterface;
/**
@talal424
talal424 / Cache.php
Last active March 2, 2021 11:13
Phalcon auto cache model ( with many to many relationships ) for Phalcon 3.4.x
<?php
/**
* Phalcon auto cache model ( with many to many relationships ) for Phalcon 3.4.x
*
* @version 1.0.0
* @author Talal Alenizi <talal.alenizi@gmail.com> <@talal_alenizi>
* @license BSD License (3-clause)
* @link https://gist.github.com/talal424/
* @link https://github.com/talal424/