for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Enjoys\Dotenv\Types;
final class TrueType implements TypeCastInterface
{
public function __construct(private string $value)
}
public function isPossible(): bool
if (str_starts_with($this->value, '*true')){
return true;
return strtolower($this->value) === 'true';
public function getCastedValue(): bool