Kahlan\Jit\Interceptor::patchable PHP 메소드

patchable() 공개 메소드

Checks if a class can be patched or not.
public patchable ( string $class ) : boolean
$class string The name of the class to check.
리턴 boolean Returns `true` if the class need to be patched, `false` otherwise.
    public function patchable($class)
    {
        if (!$this->allowed($class)) {
            return false;
        }
        return $this->patchers()->patchable($class);
    }