Skip to content

Instantly share code, notes, and snippets.

@jrbasso
Created October 6, 2012 15:25
Show Gist options
  • Save jrbasso/3845207 to your computer and use it in GitHub Desktop.
Save jrbasso/3845207 to your computer and use it in GitHub Desktop.
<?php
namespace Cake\Core {
trait Log {
public function log() {
echo 'hi';
}
}
}
namespace App\Model {
use Cake\Core\Log as Logging;
class Log {
use Logging;
}
}
namespace Usage {
(new \App\Model\Log())->log();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment