Devise\Pages\Interpreter\DeviseTag::extractBindingType PHP Method

extractBindingType() protected method

[extractBindingType description]
protected extractBindingType ( [type] $collection, [type] $key ) : [type]
$collection [type]
$key [type]
return [type]
    protected function extractBindingType($collection, $key)
    {
        if ($collection !== null) {
            return 'collection';
        }
        if (strpos($key, '$') === 0) {
            return 'variable';
        }
        return 'field';
    }