I hereby claim:
- I am snetty on github.
- I am snetty (https://keybase.io/snetty) on keybase.
- I have a public key whose fingerprint is D28B B2A5 BDC5 7341 72EF 02F6 5449 C89C F0AD F6FB
To claim this, I am signing this object:
public static function view($view){ | |
return 'base.' . (Request::ajax() ?: 'ajax.') . $view; | |
} | |
public function create() | |
{ | |
return View::make(self::view('create'), $this->viewVars()); | |
} |
I hereby claim:
To claim this, I am signing this object:
<?php | |
class My_Module extends Core_ModuleBase | |
{ | |
public function subscribeEvents() | |
{ | |
Backend::$events->addEvent('shop:onExtendCustomerModel', $this, 'extend_customer_model'); | |
} | |
#!/bin/sh | |
# If you would like to do some extra provisioning you may | |
# add any commands you wish to this file and they will | |
# be run after the Homestead machine is provisioned. | |
xdebug="xdebug.max_nesting_level=300" | |
echo "$xdebug" > "/etc/php5/mods-available/xdebug.ini" |
function http_build_url(array $parsed) { | |
$get = function ($key) use ($parsed) { | |
return isset($parsed[$key]) ? $parsed[$key] : null; | |
}; | |
$pass = $get('pass'); | |
$user = $get('user'); | |
$userinfo = $pass !== null ? "$user:$pass" : $user; | |
$port = $get('port'); | |
$scheme = $get('scheme'); |
<?php | |
print_r( Phpr_SecurityFramework::create()->get_config_content() ); | |
?> |