for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace GeminiLabs\SiteReviews\Modules\Html;
class Review
{
/**
* @var array
*/
protected $values;
public function __construct( array $values )
$this->values = $values;
}
* @return string
public function __get( $key )
if( array_key_exists( $key, $this->values )) {
return $this->values[$key];
return '';
public function __toString()
return array_reduce( $this->values, function( $carry, $value ) {
return $carry.$value;
});