Skip to content

Instantly share code, notes, and snippets.

@shehi
shehi / AR_Cache_Repository.php
Created February 28, 2018 12:42 — forked from guiwoda/AR_Cache_Repository.php
AR (Eloquent) vs DM (Doctrine) gist
<?php
namespace App\ActiveRecord;
class PostRepository
{
private $cache;
public function __construct(Cache $cache)
{
// Any set() / get() cache implementation.

CSS + HTML only Accordion Element

Read the copy in the accordion sections for some info about how this was made.

A Pen by Alex Bergin on CodePen.

License.