I hereby claim:
- I am adamlundrigan on github.
- I am adamlundrigan (https://keybase.io/adamlundrigan) on keybase.
- I have a public key whose fingerprint is 3946 706A E340 86DE 3762 C0E4 7405 2C76 50AB 71F3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
namespace SatellizerServer\Factory; | |
use Zend\ServiceManager\DelegatorFactoryInterface; | |
use Zend\ServiceManager\ServiceLocatorInterface; | |
class CryptoTokenServerFactory implements DelegatorFactoryInterface | |
{ | |
public function createDelegatorWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName, $callback) | |
{ |
This code is now available as a module: https://github.com/adamlundrigan/LdcZendFormCTI
<?php | |
/** | |
* Zend Framework (http://framework.zend.com/) | |
* | |
* @link http://github.com/zendframework/zf2 for the canonical source repository | |
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | |
* @license http://framework.zend.com/license/new-bsd New BSD License | |
* @package Zend_Db | |
*/ |
$ php sqlite_count.php | |
Row Count: 0 | |
Row 0: request_key=DCE2D890895CF02, email_address=foo@bar.com, request_time=2001-01-01 01:01:01, |
<?php | |
require_once '/path/to/modx/config.core.php'; | |
require_once MODX_CORE_PATH.'model/modx/modx.class.php'; | |
$modx = new modx(); | |
$modx->initialize('web'); | |
// Load document by ID, set longtitle, save it | |
$doc = $modx->getObject('modDocument', array('id'=>1)); | |
$doc->set('longtitle', 'foo'); |
Place in `bin` folder within your ZF2 project, at the same level as your `modules` folder. From your project folder, run: | |
``` | |
bash bin/regen_classmaps | |
``` | |
You could also place your `bin` folder in your shell PATH variable, and then just type `regen_classmaps` |
<?php | |
<<<CONFIG | |
packages: | |
- "zendframework/zendframework:~2.3" | |
CONFIG; | |
class Weather { | |
private $time; | |
private $rain; | |