private function _checkTypeNameFileNameMatch($typeName) {
		/* currentFilename holds file path - get basename */
		$fileBaseName = basename($this->_currentFilename);
		/*
		 * quick n dirty - append '.' to type name to ensure that we don't miss something like Foo1.php and Foo
		 */
		if ($this->_isActive('typeNameMatchesFileName') && !(substr($fileBaseName, 0, strlen($typeName) + 1) === $typeName . ".")) {
			$msg = $this->_getMessage('TYPE_FILE_NAME_MISMATCH', $typeName, $fileBaseName);
			$this->_writeError('typeNameMatchesFileName', $msg);
		}
	}
private function _checkTypeNameFileNameMatch($typeName) {
		/* currentFilename holds file path - get basename */
		$fileBaseName = basename($this->_currentFilename);
		/*
		 * quick n dirty - append '.' to type name to ensure that we don't miss something like Foo1.php and Foo
		 */
		if ($this->_isActive('typeNameMatchesFileName') && !(substr($fileBaseName, 0, strlen($typeName) + 1) === $typeName . ".")) {
			$msg = $this->_getMessage('TYPE_FILE_NAME_MISMATCH', $typeName, $fileBaseName);
			$this->_writeError('typeNameMatchesFileName', $msg);
		}
	}
private function _checkTypeNameFileNameMatch ( $ typeName ) { /* currentFilename holds file path - get basename */ $ fileBaseName = basename ( $ this -> _currentFilename ) ; /*
		 * quick n dirty - append '.' to type name to ensure that we don't miss something like Foo1.php and Foo
		 */ if ( $ this -> _isActive ( 'typeNameMatchesFileName' ) && ! ( substr ( $ fileBaseName , 0 , strlen ( $ typeName ) + 1 ) === $ typeName . "." ) ) { $ msg = $ this -> _getMessage ( 'TYPE_FILE_NAME_MISMATCH' , $ typeName , $ fileBaseName ) ; $ this -> _writeError ( 'typeNameMatchesFileName' , $ msg ) ; } }
Check that the type name matches the file name.

@param String $typeName
the name of the type.
Check that the type name matches the file name .