for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Groundskeeper\Tokens;
use Groundskeeper\Configuration;
class Text extends AbstractValuedToken
{
/**
* Constructor
*/
public function __construct(Token $parent = null, $value = null)
parent::__construct(Token::TEXT, $parent, $value);
}
public function toString(Configuration $configuration, $prefix = '', $suffix = '')
if (!$this->isValid) {
return '';
return $prefix . $this->getValue() . $suffix;