public function validateName($name, $definedClass)
    {
        if ($name != camel_case($name)) {
            throw new Exception('Name "'.$name.'" (defined in class "'.$definedClass.'") is not a camel case name.');
        }

        return true;
    }
public function validateName($name, $definedClass)
    {
        if ($name != camel_case($name)) {
            throw new Exception('Name "'.$name.'" (defined in class "'.$definedClass.'") is not a camel case name.');
        }

        return true;
    }
public function validateName ( $ name , $ definedClass ) { if ( $ name != camel_case ( $ name ) ) { throw new Exception ( 'Name "' . $ name . '" (defined in class "' . $ definedClass . '") is not a camel case name.' ) ; } return true ; }
Check if name is not snake case.

@param string $name
@param string $definedClass
@return boolean
Check if name is not snake case .