Development

Changeset 7011

You must first sign up to be able to contribute.

Changeset 7011

Show
Ignore:
Timestamp:
01/11/08 08:30:09 (8 months ago)
Author:
fabien
Message:

improved sfCallable exception message

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/util/sfCallable.class.php

    r6807 r7011  
    5555    if (!is_callable($this->callable)) 
    5656    { 
    57       throw new sfException(sprintf('"%s" is not a valid callable.', is_array($this->callable) ? sprintf('%s:%s', is_object($this->callable[0]) ? get_class($this->callable[0]) : $this->callable[0], $this->callable[1]) : $this->callable)); 
     57      throw new sfException(sprintf('"%s" is not a valid callable.', is_array($this->callable) ? sprintf('%s:%s', is_object($this->callable[0]) ? get_class($this->callable[0]) : $this->callable[0], $this->callable[1]) : var_export($this->callable, true))); 
    5858    } 
    5959