for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Raidros\Storer;
abstract class Transformer
{
/**
* Base method to transform response data.
*
* @param array $data
* @return array
*/
abstract protected function transform(array $data);
* Call the transform method and check the return.
public function transformData(array $data)
return $this->transform($data);
}