Skip to content

Instantly share code, notes, and snippets.

View anhtuank7c's full-sized avatar

Tuan Nguyen anhtuank7c

View GitHub Profile
<?php
namespace App\Shell\Task;
use Cake\Console\Shell;
use Cake\Core\Configure;
use Cake\ORM\TableRegistry;
/**
* DeleteExpiredInactiveAccountTask
<?php
namespace App\Controller\Admin;
use App\Controller\AppController;
use App\Controller\CheckProfile;
/**
* Dashboard Controller
*
<?php
namespace App\Event;
use Cake\Event\Event;
use Cake\Event\EventListenerInterface;
class PostActiveListener implements EventListenerInterface
{
<?php
namespace App\Controller;
use App\Event\CheckProfileListener;
use Cake\Event\Event;
/**
* CheckProfile trait
*/
trait CheckProfile {
composer require crabstudio/recaptcha