for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace kalanis\kw_mapper\Storage\Shared;
use kalanis\kw_mapper\MapperException;
/**
* trait TCheckExt
* @package kalanis\kw_mapper\Storage\Shared
*/
trait TCheckExt
{
* @param string $name
* @throws MapperException
public function checkExtension(string $name): void
if (!extension_loaded($name)) {
throw new MapperException(sprintf('Extension *%s* is not present!', $name));
}