for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
abstract class UpdateComposer extends Object
{
protected $composerJsonObj = null;
public function __construct($composerJsonObj)
$this->composerJsonObj = $composerJsonObj;
if (! $this->composerJsonObj->getJsonData()) {
user_error('No Json data!');
}
abstract public function run();
/**
* @return array
*/
protected function getJsonData()
return $this->composerJsonObj->getJsonData();
* @param array $array [description]
protected function setJsonData(array $array)
$this->composerJsonObj->setJsonData($array);