src/Titon/Model/Model.php
public function hasMutator($field) {
        $method = sprintf('set%sAttribute', Inflector::camelCase($field));

        if (method_exists($this, $method)) {
            return $method;
        }

        return null;
    }
public function hasMutator($field) {
        $method = sprintf('set%sAttribute', Inflector::camelCase($field));

        if (method_exists($this, $method)) {
            return $method;
        }

        return null;
    }
public function hasMutator ( $ field ) { $ method = sprintf ( 'set%sAttribute' , Inflector :: camelCase ( $ field ) ) ; if ( method_exists ( $ this , $ method ) ) { return $ method ; } return null ; }
Check to see if a mutator method exists on the current model.
If so, return the method name, else return null.

@param string $field
@return string
Check to see if a mutator method exists on the current model . If so return the method name else return null .