for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace drupol\valuewrapper\Type;
/**
* Class BooleanType
*/
class BooleanType extends TypeValue
{
* BooleanType constructor.
*
* @param bool $value
public function __construct(bool $value)
parent::__construct($value);
}
* {@inheritdoc}
public function __toString(): string
throw new \BadMethodCallException('Unable to convert a boolean to string.');