for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Cerbero\Transformer\Transformations;
/**
* Transform a value into a boolean.
*
*/
class BoolTransformation extends AbstractTransformation
{
* Apply the transformation
* @param array $parameters
* @return mixed
public function apply(array $parameters)
return (bool)$this->value;
}