protected function getIdentifier($path) { if (function_exists('sha1')) { return sha1($path); } return md5($path); }