Skip to content

Instantly share code, notes, and snippets.

View Marlinc's full-sized avatar

Marlinc Marlinc

  • Eindhoven, The Netherlands
View GitHub Profile
<?php
public function testStatusUpdate()
{
$client = $this->getMockBuilder('Cake\\Network\\Http\\Client')
->setMethods([
'post'
])
->getMock();
$client
<?php
namespace App\Controller;
use App\Controller\AppController;
/**
* Students Controller
*
* @property \App\Model\Table\StudentsTable $Students
*/
@Marlinc
Marlinc / routes.php
Last active June 13, 2016 13:52 — forked from anonymous/routes
<?php
/**
* Routes configuration
*
* In this file, you set up routes to your controllers and their actions.
* Routes are very important mechanism that allows you to freely connect
* different URLs to chosen controllers and their actions (functions).
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)

Keybase proof

I hereby claim:

  • I am marlinc on github.
  • I am marlinc (https://keybase.io/marlinc) on keybase.
  • I have a public key ASCcKnN71PVITXnZEpiIMzSHEdZ6knyMYpg_KGj345u2vQo

To claim this, I am signing this object: