for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FluidXml;
trait ReservedCallTrait
{
public function __call($method, $arguments)
$m = "{$method}_";
if (\method_exists($this, $m)) {
return $this->$m(...$arguments);
}
throw new \Exception("Method '$method' not found.");