/** * construtor * @param \br\gov\sial\core\valueObject\ValueObjectAbstract $voFile */ public function __construct(ValueObjectAbstract $voFile) { self::$_voFile = $voFile; if (self::$_voFile instanceof TFile) { if (0 == self::$_voFile->getSize() && NULL == self::$_voFile->getType()) { self::$_pathDwnld = $this->_decryptPath(base64_decode(self::$_voFile->getSource())); self::$_hashFile = basename(self::$_pathDwnld, '.xml'); } else { self::$_hashFile = hash_file('md5', self::$_voFile->getSource()); } } }