Craft\NeoFieldType::_getNamespaceDepth PHP Method

_getNamespaceDepth() private method

For example, if a Neo field was being rendered inside a Matrix block, it's depth will be 2.
private _getNamespaceDepth ( ) : integer
return integer
    private function _getNamespaceDepth()
    {
        $namespace = craft()->templates->getNamespace();
        return preg_match_all('/\\bfields\\b/', $namespace);
    }