I hereby claim:
- I am etki on github.
- I am etki (https://keybase.io/etki) on keybase.
- I have a public key whose fingerprint is 8507 31DD 209D 58FA C03E 4A94 EBC5 62BA D61A 2A66
To claim this, I am signing this object:
<?php | |
class Config | |
{ | |
protected $data; | |
public function __construct(array $data) | |
{ | |
$this->data = $data; | |
} | |
public function get($alias) | |
{ |
I hereby claim:
To claim this, I am signing this object:
There was 1 error: | |
--------- | |
1) SeparateProcessTest::testMe | |
PHPUnit_Framework_Exception: PHP Fatal error: Call to a member function run() on a non-object in /home/etki/Workspace/PHP/environment/vendor/codeception/codeception/src/Codeception/TestCase/Test.php on line 30 | |
PHP Stack trace: | |
PHP 1. {main}() -:0 | |
PHP 2. __phpunit_run_isolated_test() -:626 | |
PHP 3. PHPUnit_Framework_TestCase->run() -:369 | |
PHP 4. PHPUnit_Framework_TestResult->run() /home/etki/Workspace/PHP/environment/vendor/phpunit/phpunit/src/Framework/TestCase.php:711 |
{ | |
"name": "yiisoft/yii2-app-basic", | |
"description": "Yii 2 Basic Application Template", | |
"keywords": ["yii2", "framework", "basic", "application template"], | |
"homepage": "http://www.yiiframework.com/", | |
"type": "project", | |
"license": "BSD-3-Clause", | |
"support": { | |
"issues": "https://github.com/yiisoft/yii2/issues?state=open", | |
"forum": "http://www.yiiframework.com/forum/", |
/composer | |
/composer.phar | |
/composer.lock | |
/vendor | |
.idea | |
.project | |
.settings | |
nbproject |
<?php | |
class Application | |
{ | |
private $cache; | |
private $filesystem; | |
public function __construct(CacheInterface $cache, FilesystemInterface $filesystem) | |
{ | |
$this->cache = $cache; | |
$this->filesystem = $filesystem; |
<?php | |
namespace AcmeBundle\Controller; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Site\RsrSecurityBundle\Service\RsrNwlSystem; | |
class ServiceController extends Controller | |
{ | |
public function serviceRelatedAction() |
<?php | |
class WP_Form implements WP_Form_Aggregate, WP_Form_Attributes_Interface | |
{ | |
public function getElements() | |
{ | |
$elements = []; | |
foreach ($this->elements as $element) { | |
$dataBuffer = $element->getAttributes(); | |
if ($element instanceof WP_Form_Aggregate) { | |
$dataBuffer['elements'] = $element->getElements(); |
if (stem.getAttributeA() != null) { | |
entity.setAttributeA(stem.getAttributeA()); | |
} | |
if (stem.getAttributeB() != null) { | |
entity.setAttributeB(stem.getAttributeB()); | |
} | |
if (stem.getAttributeC() != null) { | |
entity.setAttributeC(stem.getAttributeC()); | |
} | |
if (stem.getAttributeD() != null) { |
CompletableFuture<Map<UUID, Collection<SuperCow>> method() { | |
CompletableFuture<Collection<SuperCow>> starter = callProvider(); | |
return starter | |
.thenApply(c -> c.stream().collect(Collectors.groupingBy(SuperCow::getGroupingId))) // Map<UUID, List<SuperCow>> | |
.thenApply(m -> m.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue))); // FFUUUUUUUUUU | |
} |