Skip to content

Instantly share code, notes, and snippets.

@manuweg
manuweg / asset_compress.ini
Created July 11, 2017 18:57
asset_compress.ini
[General]
cacheConfig = false
[js]
cachePath = WEBROOT/cache_js/
[css]
cachePath = WEBROOT/cache_css/
[jquery-combined.js]
@manuweg
manuweg / OrderItemsTable.php
Created June 29, 2017 07:27
OrderItemsTable.php
<?php
namespace Shop\Model\Table;
use Cake\ORM\Query;
use Cake\ORM\RulesChecker;
use Cake\ORM\Table;
use Cake\Validation\Validator;
use Shop\Model\Entity\OrderItem;
/**