Created
October 6, 2012 15:25
-
-
Save jrbasso/3845207 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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