public static function fromHash($aName)
    {
        $instance = new self($aName);
        $instance->name = Uuid::uuid4()->toString();

        return $instance;
    }
public static function fromHash($aName)
    {
        $instance = new self($aName);
        $instance->name = Uuid::uuid4()->toString();

        return $instance;
    }
public static function fromHash ( $ aName ) { $ instance = new self ( $ aName ) ; $ instance -> name = Uuid :: uuid4 ( ) -> toString ( ) ; return $ instance ; }
Factory method that returns an instance of file name with hash as a name.

@param string $aName The name

@return FileName
Factory method that returns an instance of file name with hash as a name .