SimpleStackTrace::frameMatchesPrefix PHP 메소드

frameMatchesPrefix() 보호된 메소드

Tries to determine if the method call is an assert, etc.
protected frameMatchesPrefix ( array $frame ) : boolean
$frame array PHP stack frame.
리턴 boolean True if matches a target.
    protected function frameMatchesPrefix($frame)
    {
        foreach ($this->prefixes as $prefix) {
            if (strncmp($frame['function'], $prefix, strlen($prefix)) == 0) {
                return true;
            }
        }
        return false;
    }