for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File containing the {@see AppUtils\Value_Bool_True} class.
*
* @package Application Utils
* @subpackage Values
* @see AppUtils\Value_Bool_True
*/
declare(strict_types=1);
namespace AppUtils;
* Sticky true-based boolean value: starts out as false,
* and if it is set to true, cannot be set to false again
* afterwards.
* @author Sebastian Mordziol <[email protected]>
class Value_Bool_True extends Value_Bool
{
public function set(bool $value) : Value_Bool
if($value === true)
parent::set($value);
}
return $this;