private function getExpressionVar($object = null)
    {
        if (!is_object($object)) {
            return 'object';
        }

        $ref = new \ReflectionClass($object);

        return strtolower($ref->getShortName());
    }
private function getExpressionVar($object = null)
    {
        if (!is_object($object)) {
            return 'object';
        }

        $ref = new \ReflectionClass($object);

        return strtolower($ref->getShortName());
    }
private function getExpressionVar ( $ object = null ) { if ( ! is_object ( $ object ) ) { return 'object' ; } $ ref = new \ ReflectionClass ( $ object ) ; return strtolower ( $ ref -> getShortName ( ) ) ; }
Returns the variable name to be used to access the object when using the ExpressionLanguage
component to parse and evaluate an expression.

@param mixed $object

@return string
Returns the variable name to be used to access the object when using the ExpressionLanguage component to parse and evaluate an expression .