for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Helldar\LaravelLangPublisher\Support;
use ReflectionClass;
final class Reflection
{
public function getConstants(string $class): array
return $this->make($class)->getConstants();
}
protected function make(string $class)
return new ReflectionClass($class);